From 944dab3509e604a628e2da3daecca81d3c7bf159 Mon Sep 17 00:00:00 2001 From: Andre Merzky Date: Mon, 15 Apr 2024 08:09:54 +0200 Subject: [PATCH] hotfix to get install working after setuptools update --- VERSION | 2 +- setup.py | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 21998d3c2..f805cd6ed 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.47.0 +1.47.1 diff --git a/setup.py b/setup.py index a52839a30..34b76cd36 100644 --- a/setup.py +++ b/setup.py @@ -137,6 +137,10 @@ def get_version(_mod_root): # _sdist_name = _sdist_name.replace('#', '-') # _sdist_name = _sdist_name.replace('_', '-') + # setuptools 69.5 does changes naming scheme + if not os.path.isfile('%s/%s' % (_path, _sdist_name)): + _sdist_name = '%s-%s.tar.gz' % (name.replace('.', '_'), _version_base) + if '--record' in sys.argv or \ 'bdist_egg' in sys.argv or \ 'bdist_wheel' in sys.argv : @@ -199,7 +203,7 @@ def run(self): # setup_args = { 'name' : name, - 'namespace_packages' : ['radical'], + # 'namespace_packages' : ['radical'], 'version' : version, 'description' : 'A light-weight access layer for distributed ' 'computing infrastructure '