简体   繁体   中英

How can I include a 3rd party package when I build in Python?

I'm writing a program that relies on the user having third party packages already installed. Is there any way to include those packages in my installer, or will they have to install them separately? I'm using distutils in 2.7 if it matters.

This depends on the complexity of the 3rd party package. If it is pure python, you may simply bundle it with the rest of your code. If it needs a more complicated install process, you will probably need users to install it themselves.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM