Skip to content

Fix setup.py build failures in isolated environments - #3

Open
f-marschall wants to merge 2 commits into
phiyodr:masterfrom
f-marschall:master
Open

Fix setup.py build failures in isolated environments#3
f-marschall wants to merge 2 commits into
phiyodr:masterfrom
f-marschall:master

Conversation

@f-marschall

Copy link
Copy Markdown

Why

Importing multilabel_oversampling from setup.py can fail when build-time dependencies are not yet available. That breaks installation in isolated or PEP 517 builds.

What changed

  • Read the package version directly from multilabel_oversampling/__init__.py instead of importing the package during setup.
  • Read requirements.txt while skipping blank lines and comments.

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.

1 participant