easybuilders / easybuild

EasyBuild - building software with ease
http://easybuild.io
GNU General Public License v2.0
466 stars 143 forks source link

fix `create_source_tarball.sh` script to be compatible with recent setuptools versions #894

Closed boegel closed 3 months ago

boegel commented 3 months ago

Recent versions of setuptools (>= 69.0.3, not sure?) 'normalize' package names by replacing dashes with underscores, so we source tarballs like easybuild_framework-4.9.2.tar.gz instead of easybuild-framework-4.9.2.tar.gz.

The changes being made here accept both, just to stay compatible with older setuptools versions (or in case they change their mind again...)

edit: see also https://github.com/easybuilders/easybuild-easyblocks/pull/3358