Skip to content

Switch to setuptools and find_packages#24747

Open
Flamefire wants to merge 2 commits intoeasybuilders:developfrom
Flamefire:setuptools
Open

Switch to setuptools and find_packages#24747
Flamefire wants to merge 2 commits intoeasybuilders:developfrom
Flamefire:setuptools

Conversation

@Flamefire
Copy link
Contributor

@Flamefire Flamefire commented Dec 4, 2025

Any reasonably modern Python distribution includes setuptools.

it was useful for Python 2.x, is no longer necessary and can be removed making it consistent for all 3 EB packages:

easybuilders/easybuild-easyblocks#4006
easybuilders/easybuild-framework#5065

Also add a test with Python 3.12 which was missing for this test suite but present in the others

Any reasonably modern Python distribution includes setuptools.
So the workaround, that was useful for Python 2.x, is no longer
necessary and can be removed.
This allows using `find_packages` instead of maintaining an explicit
list of packages which is error-prone.
Requires installing setuptools explicitely
@boegel boegel added the change label Dec 6, 2025
@boegel boegel added this to the 5.x milestone Dec 6, 2025
@boegel boegel self-assigned this Dec 6, 2025
@boegel
Copy link
Member

boegel commented Dec 8, 2025

I'm not keen on this, see discussion in easybuilders/easybuild-framework#5065

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants