diff --git a/Chandra/Time/__init__.py b/Chandra/Time/__init__.py index 2309c6b..792e3b1 100644 --- a/Chandra/Time/__init__.py +++ b/Chandra/Time/__init__.py @@ -1,9 +1,7 @@ # Licensed under a 3-clause BSD style license - see LICENSE.rst -import ska_helpers - from .Time import * -__version__ = ska_helpers.get_version(__package__) +__version__ = '3.20.3' def test(*args, **kwargs): diff --git a/setup.py b/setup.py index d7b9695..f39783b 100755 --- a/setup.py +++ b/setup.py @@ -4,11 +4,13 @@ import os from Cython.Build import cythonize +from Chandra.Time import __version__ + if (os.name == "nt"): compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE'] else: compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default', - '-Wno-deprecated', '-Wno-parentheses', '-stdlib=libc++'] + '-Wno-deprecated', '-Wno-parentheses'] extensions = [Extension("*", ["Chandra/Time/_axTime3.pyx"], extra_compile_args=compile_args)] @@ -22,8 +24,7 @@ author='Tom Aldcroft', description='Convert between various time formats relevant to Chandra', author_email='taldcroft@cfa.harvard.edu', - use_scm_version=True, - setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'], + version=__version__, zip_safe=False, packages=['Chandra', 'Chandra.Time', 'Chandra.Time.tests'], ext_modules=cythonize(extensions),