Closed yurivict closed 3 years ago
We don't have control on this, can you please report it on the FreeBSD issue tracker?
We don't have control on this [...]
Why? Your project doesn't install these files.
In 0.8.11:
Maybe that helps?
distutils is not a dependency any more
But python setup.py install
is still recommended in the README file, and setup.py
contains:
from distutils.core import Command
Sorry, I confused myself there. You are right distutils
is still used, although it's technically part of the Python standard library even if distributions tend to package it separately.
What is not needed any more is setuptools at runtime, it's only required (at version >=39.2.0) at install time.
python -m pip install .
is the best way to install bx-python from source nowadays.
python -m pip install
wouldn't work for the bx-python port that I maintain. Ports should be built using setuptools.
There is a bug in the project that fails to install these files via setuptools
.
OK, I tracked this down, should be fixed by commit https://github.com/bxlab/bx-python/commit/cd3cf732539c9c1385e63e7d74d9b4077d7c4bc6 . Hopefully this works for you and you can cherry-pick it to your build system. Otherwise I can tag a new release.
Thanks, this was also needed for making a slackware package (also works via setup.py). It solved the problem encountered with RSeQC:
Traceback (most recent call last): File "/usr/bin/bam_stat.py", line 22, in
from bx.bitset import * ModuleNotFoundError: No module named 'bx.bitset'
I am getting this error from the FreeBSD ports framework:
The above listed shared libraries were built, written into plist, but were not installed.
Python 3.7 FreeBSD 12.2