packaging a python application
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.
精彩评论