You are here |
blog.randombits.host | ||
| | | |
blog.peterdonis.com
|
|
| | | | A Blog by Peter A. Donis | |
| | | |
yasha.solutions
|
|
| | | | Goal Setup a basic command line package in python. Package Git: https://github.com/pallets/click/ Doc: https://click.palletsprojects.com/ Let's get to it Create a virtual environnement. 1 2 python -m venv my_env . my_env/bin/activate Then the setup.py file: (require setuptools) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 from setuptools import setup setup( name='myapp', version='1.0', py_modules=['myapp'], install_requires=[ 'Click', ], entry_points=""" [console_scripts] myapp=myapp:cli """, ) and the myapp. | |
| | | |
humberto.io
|
|
| | | | Publish your first package to the Python Package Index (PyPI) | |
| | | |
dhariri.com
|
|
| | The website of David Hariri, a software developer, designer, and entrepreneur. |