Python package external dependencies

前端 未结 2 1043
伪装坚强ぢ
伪装坚强ぢ 2021-02-05 08:06

I\'m writing a python script which uses an external library (paramiko). If I\'m to release the package how do I package paramiko also? Is there anyway I can give it as we can gi

2条回答
  •  礼貌的吻别
    2021-02-05 09:06

    Make it a proper package and read up about setuptools: Python setuptools link

    Dependencies can be specified using 'install_requires' parameter inside the setup.py file of your package.

提交回复
热议问题