Question

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

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

Was it helpful?

Solution

The best way to tell is to try it on 'clean' installations of windows and see what it complains about. Virtual machines are a good way to do that.

OTHER TIPS

You'll need at least Python's own DLL (release-specific) and the wincrt DLL version it requires, also Python version depended (if you want to run on releases of Windows that don't come with that DLL). The popular py2exe, the not-widely-know but hugely powerful Pyinstaller (NOTE: use the svn version, not the released version which is aeons behind), and similar package-makers, do a good job of identifying and solving all such dependencies, so there's no case for doing it by hand!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top