I’m writing a single-use image analysis app in Python that I would like to make super-easy for a user to install. The tutorials I could find on this don’t cover any java interactions, which I need for python-bioformats. (Thank you again!)
I tried poring over the CellProfiler setup.py and the build-from-source instructions on the wiki, but I couldn’t quite identify where the magic happens. It appears to happen in different ways in different platforms.
- For macOS, you appear to use python setup.py py2app. But how do you control what gets bundled in the app?
- For Windows, I presume (?) you use py2exe? But I couldn’t find any reference to it in the repo. (Nor to py2app for that matter.)
- does the JDK get bundled?
- either way, how do you specify the JAVA_HOME used by the app on each platform?