Skip to main content

assemble project with all dependencies for install offline

Project description

py_assembly is a tool of package python code libs and dependencies for offline installation. py_assembly implements an project build process like maven assembly

Get Started

Install py_assembly

pip install py_assembly

setup.py example

from setuptools import find_packages, setup
from assembly.package import Package

setup(
    name='py_assembly_example',
    author="chaokunyang",
    version='1.0',
    description='assemble project with all dependencies for install offline',
    long_description=open('README.rst').read(),
    classifiers=[
        'Programming Language :: Python :: 3.6',
        'Intended Audience :: Developers',
      ],
    keywords='assembly dist offline install dependencies',
    url='http://github.com/chaokunyang/py_assembly/example',
    license='Apache License 2.0',
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    cmdclass={
        "package": Package
    }
)

Package

python setup.py package

Install

Install dependencies

pip install -r requirements.txt --no-index --find-links wheelhouse

Install project package

pip install .

Others

You can do it manually:

  • Download libs .. code-block:: bash

    pip download django -d wheelhouse pip download -r requirements.txt -d wheelhouse

  • Install libs .. code-block:: bash

    pip install -r requirements.txt –no-index –find-links wheelhouse

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py-assembly, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size py_assembly-1.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page