Skip to content

Commit

Permalink
missed some stuff...
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed May 8, 2024
1 parent 28a4707 commit bc283d6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 9 deletions.
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# ------------------------------------------------------------------------------
#
base = 'utils'
base = 'entk'
name = 'radical.%s' % base
mod_root = 'src/radical/%s/' % base

Expand All @@ -29,11 +29,12 @@
keywords = ['radical', 'cybertools', 'utilities', 'ensemble', 'workflow']

share = 'share/%s' % name
data = [('%s/examples' % share, glob('examples/*' )),
('%s/examples/user_guide/' % share, glob('examples/user_guide/*')),
data = [('%s/examples/advanced/' % share, glob('examples/advanced/*' )),
('%s/examples/analytics/' % share, glob('examples/analytics/*' )),
('%s/examples/misc/' % share, glob('examples/misc/*' )),
('%s/examples/simple/' % share, glob('examples/simple/*' )),
('%s/examples/advanced/' % share, glob('examples/advanced/*' )),
('%s/examples/analytics/' % share, glob('examples/analytics/*' ))
('%s/examples/tutorial/' % share, glob('examples/tutorial/*' )),
('%s/examples/user_guide/' % share, glob('examples/user_guide/*')),
]


Expand Down
24 changes: 20 additions & 4 deletions src/radical/entk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@

__copyright__ = "Copyright 2013-2024, http://radical.rutgers.edu"
__license__ = "MIT"


# ------------------------------------------------------------------------------
# we *first* import radical.utils, so that the monkeypatching of the logger has
# a chance to kick in before the logging module is pulled by any other 3rd party
# module, and also to monkeypatch `os.fork()` for the `atfork` functionality
#
import os as _os
import radical.utils as _ru


# ------------------------------------------------------------------------------
#
from .appman import AppManager
Expand All @@ -11,11 +24,14 @@

# ------------------------------------------------------------------------------
#
import os as _os
import radical.utils as _ru
# get version info
#
_mod_root = _os.path.dirname (__file__)

version, version_detail, version_base, version_branch, sdist_name, sdist_path =\
_ru.get_version(_os.path.dirname(__file__))
version_short, version_base, version_branch, version_tag, version_detail \
= _ru.get_version(_mod_root)
version = version_short
__version__ = version_detail


# ------------------------------------------------------------------------------
Expand Down

0 comments on commit bc283d6

Please sign in to comment.