py_assembly
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
Metadata
Release files for py-assembly 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_assembly-1.0.1.tar.gz | 3.3 kB | Without provenance | Details for py_assembly-1.0.1.tar.gz |
Release files / py_assembly-1.0.1.tar.gz
| Download URL | py_assembly-1.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acc180de1fa1e8dcdb1ed5233629a89787da0d12b60ad1ed737906e212bb04cf
|
|
BLAKE2b-256 checksum How to use checksums |
cf344c287c58d2e3cf044df2471da207e197bd4b71446b7ec324e7b1710671ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for py-assembly 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.