Skip to content

Commit

Permalink
hotfix to get install working after setuptools update
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed Apr 15, 2024
1 parent a6b3ede commit 944dab3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.47.0
1.47.1
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down Expand Up @@ -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 '
Expand Down

0 comments on commit 944dab3

Please sign in to comment.