Skip to content

Commit

Permalink
Added changes to use setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
javierggt committed Dec 17, 2019
1 parent ae791f0 commit f6644c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion chandra_aca/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from .transform import * # noqa

__version__ = '4.28'
import ska_helpers

__version__ = ska_helpers.get_version(__package__)


def test(*args, **kwargs):
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from chandra_aca import __version__

from setuptools import setup

try:
Expand All @@ -12,7 +10,8 @@
author='Jean Connelly, Tom Aldcroft',
description='Chandra Aspect Camera Tools',
author_email='[email protected]',
version=__version__,
use_scm_version=True,
setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'],
zip_safe=False,
packages=['chandra_aca', 'chandra_aca.tests'],
package_data={'chandra_aca.tests': ['data/*.txt', 'data/*.dat',
Expand Down

0 comments on commit f6644c4

Please sign in to comment.