Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rongfengliang/pip-demo-package
pip-demo-package
https://github.com/rongfengliang/pip-demo-package
docker docker-compose pip pypi python
Last synced: 19 days ago
JSON representation
pip-demo-package
- Host: GitHub
- URL: https://github.com/rongfengliang/pip-demo-package
- Owner: rongfengliang
- Created: 2019-01-04T04:20:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-27T13:43:30.000Z (about 6 years ago)
- Last Synced: 2025-01-10T01:18:39.646Z (20 days ago)
- Topics: docker, docker-compose, pip, pypi, python
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pip-demo-package
pip-demo-package
## example_pkg deploy
* into example_pkg directory
```code
cd example_pkg
```* install setuptools
```code
python3 -m pip install --user --upgrade setuptools wheel```
* generating distribution archives
```code
python3 setup.py sdist bdist_wheel
```* install upload tools
```code
python3 -m pip install --user --upgrade twine
```* create account for test pypi
```code
https://test.pypi.org/account/register/
```* upload archives
```code
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
```## usage
* install pip package
```code
pip install -i https://test.pypi.org/simple/ dalongrong-example-pkg
```* run
```code
cd useage
python app.py
```* with requirement && docker-compose runing
```code
cd app
docker-compose build
docker-compose up
```