# properly-util-python
## Quick Run
1. Setup the environment for development by calling `source ./setup.sh`
2. Make your changes to the code
3. Increase the `major` or `minor` values in if appropriate [setup.py](https://github.com/GoProperly/properly-util-python/blob/master/setup.py#L8)
4. Run `./tests.sh` to run automated tests.
## Uploading the Package
To upload package.
You can either:
Merge changes to master branch and push.
*NOTE: You do not need to upload the package, it is uploaded automatically on a merge of a branch to master.*
OR manually upload package to pypi
5. `source deploy.sh`
6. `deploy.sh "<your_commit_message>" <version>`
Make sure you have the latest versions of setuptools and wheel installed:
`python3 -m pip install --user --upgrade setuptools wheel`
You’ll need to install Twine:
`python3 -m pip install --user --upgrade twine`
Build dist/
`python3 setup.py sdist bdist_wheel`
Upload to pypi.org
`twine upload dist/*`
Source: https://packaging.python.org/tutorials/packaging-projects/
## Installing the Package
`pip install properly-util-python`
or
`pip install --no-cache-dir --upgrade properly-util-python`
Archived info, installing directly from github:
`pip install -e git+https://github.com/GoProperly/properly-util-python.git#egg=properly-util-python`
Note: -e indicates that extra-url-info is saved for pip freeze: https://pip.pypa.io/en/stable/reference/pip_wheel/#extra-index-url
## Resources
see:https://stackoverflow.com/questions/15268953/how-to-install-python-package-from-github#comment37317873_15268990
Based on this tutorial:
http://greenash.net.au/thoughts/2015/06/splitting-a-python-codebase-into-dependencies-for-fun-and-profit/
Private repos possible through vendors like JFrog and their artifactory product
PyPI 官网下载 | properly_util_python-0.20.411.tar.gz
版权申诉
149 浏览量
2022-01-14
23:31:34
上传
评论
收藏 27KB GZ 举报
挣扎的蓝藻
- 粉丝: 12w+
- 资源: 15万+
最新资源
- 《基于51单片机和DS18B20的温度检测和报警系统,可设置报警温度上下限,输出温度采用数码管显示 》+源代码+设计资料
- ESP8266WIFI系统工作原理图.schdoc
- C语言《基于STM32的测量温度与压力的数据处理设计 》+源代码+设计资料
- ApkTool,安卓逆向工具
- prompt技术资料AI资料.zip
- 基于NeRF方法实现校园内真实拍摄场景的三维重建和web端实时渲染源码.zip
- HCIA-Data Center Facility V2.0.zip
- 物联网场景下的协同通信技术.pptx
- 大语言模型的微调和推理baichuan7B, chatglm2-6B, Qwen-7B-chat源码.zip
- 环境光谱特征数据库系统的建设.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈