@durka/example-python__boilerplate
v1.0.2
Published
python boilerplate
Downloads
40
Readme
{{projectName}}
{{projectDescription}}
Usage
Development Tips
init env: python3 -m pip install --upgrade pipenv
init shell: pipenv shell
init project: pipenv install
build: python -m build
upload test: python -m twine upload --repository testpypi dist/*
upload prod: python -m twine upload dist/*
use test: pip install --index-url https://test.pypi.org/simple/ --no-deps {{projectName}}-USER_NAME
use prod: pip install {{projectName}}
pipenv shell 中会将 $PIPENV_ACTIVE 设置成 1,所以可以通过这个环境变量来判断是否在 pipenv shell 中
参考文档: https://packaging.python.org/en/latest/tutorials/packaging-projects/
Changelog
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
