Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaokunyang/pyassemble
A tool of package libs and dependencies for offline installation
https://github.com/chaokunyang/pyassemble
assembly build dependencies installation package-management pakcage pyassembly python python3
Last synced: about 2 months ago
JSON representation
A tool of package libs and dependencies for offline installation
- Host: GitHub
- URL: https://github.com/chaokunyang/pyassemble
- Owner: chaokunyang
- Created: 2018-07-26T07:36:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-26T07:36:53.000Z (over 6 years ago)
- Last Synced: 2024-04-16T11:23:58.928Z (9 months ago)
- Topics: assembly, build, dependencies, installation, package-management, pakcage, pyassembly, python, python3
- Language: Python
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pyassemble
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
```bash
pip install pyassemble
````setup.py` example
```python
from setuptools import find_packages, setup
from pyassemble.package import Packagesetup(
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
```bash
python setup.py package
```Install
Install dependencies
```bash
pip install -r requirements.txt --no-index --find-links wheelhouse
```
Install project package
```bash
pip install .
```## Others
You can do it manually:
* Download libs
```bash
pip download django -d wheelhouse
pip download -r requirements.txt -d wheelhouse
```
* Install libs
```bash
pip install -r requirements.txt --no-index --find-links wheelhouse
```