I have a python module which basically is a big wrapper (which does more than other things) for an external binary (not python). I would like to include binaries (1 binary for osx, 1 for linux) along with my code. I currently have the following in my setup.py:
package_data={'packagename': ['lib/app-osx/*', 'lib/app-linux/*', 'lib/*.awk']},
and the files are located at:
/packagename
/lib
script.awk
/app-osx/
app
/app-linux
app
I canβt find where they are installed, if at all? Is there a convention for this? I obviously can't use the dependencies for this :(
And then what is the best way to find your location in a python script?
thank
source
share