bcgsc / btllib

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

setup.py #57

Closed parham-k closed 2 years ago

vlad0x00 commented 2 years ago

It looks like when I install btllib using setup.py, _btllib.so which has the actual implementation is not copied along with the __init__.py file, so I cannot do import btllib.

I also get a warning upon installation: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives

How hard would it be to transition to setuptools?

parham-k commented 2 years ago

Ideally we would install by running pip install . in the dir containing setup.py. That somehow copied _btllib.so alongside __init__.py on my system, so I didn't have problems there. Please let me know if my recent commit fixes the issue for you.

vlad0x00 commented 2 years ago

Awesome, works like a charm now!