What files do I need to include in my Python application?

I have an application that uses the python / c api and I was wondering what files do I need to distribute with it? The app runs on Windows and is linked to libpython31.a Are there any other files? I tried the application on a separate Win2k system and it said that python31.dll needed to have it at least one.

Edit - My application is written in C ++ and uses the Python / C api as mentioned below.

+2


source to share


2 answers


The best way to tell is to try it on a clean install of windows and see what it is complaining about. Virtual machines are a good way to do this.



+2


source


You will need at least the native Python library (defined for the release) and the required DLL version of wincrt, also dependent on the Python version (if you want to run Windows releases that are not included in this DLL). Popular py2exe , a little-known but extremely powerful Pyinstaller ( NOTE : use the svn version, not released version, which is behind the aeon) and similar packages, developers do a good job of identifying and solving all these dependencies, so there is no case for this hand!



+1


source







All Articles