Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-python/pyBigWig: version bump 0.3.24, add tests, remove outdated ebuilds #1318

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mschubert
Copy link
Contributor

required for deeptools PR

Comment on lines +29 to +31
ln -s "${S}"/pyBigWigTest/test.bigBed "${pysite}"/pyBigWigTest || die
ln -s "${S}"/pyBigWigTest/test.bw "${pysite}"/pyBigWigTest || die
epytest pyBigWigTest/test.py
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if there is a better way than linking

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about setting PYTHONPATH?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem here is that:

  1. The test accesses the file using os.path.dirname(pyBigWig.__file__) + "/pyBigWigTest/test.bigBed"
  2. pyBigWig only exists as .so file in the build directory (without those files)
  3. Setting PYTHONPATH doesn't change the file path construction of the former

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DISTUTILS_IN_SOURCE_BUILD=1 might help here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting: DISTUTILS_IN_SOURCE_BUILD is not supported in PEP517 mode

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, let's just keep it as it is then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants