pip安装GitHub上的库
pip安装某个项目
1 | pipenv install git+https://github.com/bluejeans/api-rest-meetings.git@pip-repo#egg=BlueJeansMeetingsRestApi |
egg名称是setup.py中的name
1 | # coding: utf-8 |
egg: set中name名称
参考:https://docs.python.org/zh-cn/3/distutils/setupscript.html
使用
导入时是使用的项目(my-coomon-code)下面的包名(fileconvert)
1 | G:\pythonPros\my-common-code> tree |
其他项目安装
1 | pipenv install git+https://gitee.com/tina-aa/my-common-code.git#egg=my-common-code |
导入其他项目:
1 | from fileconvert import htmlToPdf |