How should I handle importing third-party libraries within my setup.py script?

前端 未结 3 611
心在旅途
心在旅途 2021-01-12 08:40

I\'m developing a Python application and in the process of branching off a release. I\'ve got a PyPI server set up on a company server and I\'ve copied a source distribution

3条回答
  •  星月不相逢
    2021-01-12 09:10

    You can mention install_requires with the dependencies list. Please check the python packaging guide here. Also you can provide a requirements.txt file so that it can be run at once using "pip install -r"

提交回复
热议问题