Skip to content

Commit

Permalink
set up version machinery
Browse files Browse the repository at this point in the history
  • Loading branch information
eteq committed Oct 4, 2019
1 parent 4419dfa commit c6934e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ __pycache__
**/examples
node_modules
/.idea
jdaviz/_version.py

# Compiled files
*.py[cod]
Expand Down
1 change: 1 addition & 0 deletions jdaviz/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from ._version import version as __version__
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

from setuptools import setup
setup(use_scm_version=True)
setup(use_scm_version={'write_to': 'jdaviz/_version.py'})

0 comments on commit c6934e4

Please sign in to comment.