开发者

packaging a python application

开发者 https://www.devze.com 2023-03-30 14:32 出处:网络
How开发者_如何学JAVA can I pack and distribute a python application consisting of multiple files? My application requires a configuration file which has to filled in by the user.

How开发者_如何学JAVA can I pack and distribute a python application consisting of multiple files? My application requires a configuration file which has to filled in by the user.

I guess I am looking for steps similar to configure/make/make install/make documentation that I use on my Linux machine.


There are different solutions available, each involves your codebase adhering to a certain file-folder hierarchy, and declaring any dependencies used.

There is no right or wrong answer from the options available, but as a professional Python programmer who leads a team of Python programmers - and we've tried all of them - I recommend Poetry as a comprehensive and modern solution.

Their site documentation explains it all.

0

精彩评论

暂无评论...
验证码 换一张
取 消