bcgsc / btllib

Bioinformatics Technology Lab common code library
Other
21 stars 5 forks source link

Build installs the python binding into a wrong location #111

Closed yurivict closed 1 month ago

yurivict commented 1 year ago

It installs these files:

lib/btllib/python/btllib/__init__.py
lib/btllib/python/btllib/_btllib.so
lib/btllib/python/setup.py

but they should be in /usr/local/lib/python3.9/btllib.

Many software packages can read this location from the python or pyuthon-config executable.

Version: 1.6.2 Python-3.9 FreeBSD 13.2

jwcodee commented 1 year ago

We opted to use lib/btllib/python/ as the default installation path because in HPC environments you often don't have access to usr/bin. btllib has --prefix parameter to change the installation path.

lcoombe commented 1 month ago

Closing due to inactivity - please feel free to re-open if you have further questions