Assemble project code with all dependencies for offline installation
Project description
pyassemble is a tool of package python code libs and dependencies for offline installation. pyassemble implements an project build process like maven assembly
Get Started
Install pyassemble
pip install pyassemble
setup.py example
from setuptools import find_packages, setup
from pyassemble.package import Package
setup(
name='pyassembly_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 pyassemble dist offline install dependencies',
url='http://github.com/chaokunyang/pyassemble/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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyassemble-1.0.0.tar.gz
(3.3 kB
view details)
File details
Details for the file pyassemble-1.0.0.tar.gz
.
File metadata
- Download URL: pyassemble-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33371f97b8b51ed55c33d3534c3f171e7aeef68af9ac5f2ace190bcc8af7d157 |
|
MD5 | bf887ed30e0055b5659eb69a60e9d25d |
|
BLAKE2b-256 | 1e8c262203ecff47a292485aabb707ff0440a5eb5429321aede96679a4bcceea |