Skip to content

Commit

Permalink
Use versioneer for version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdawson committed Apr 30, 2019
1 parent 59eba36 commit a657c86
Show file tree
Hide file tree
Showing 7 changed files with 2,366 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/eofs/_version.py export-subst
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include README.md
include COPYING
include versioneer.py
include lib/eofs/_version.py
7 changes: 4 additions & 3 deletions lib/eofs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
from . import standard
from . import tools

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions


# Define the objects imported by imports of the form: from eofs import *
__all__ = ['standard', 'tools']

# Package version number.
__version__ = '1.4.dev0'

try:
from . import cdms
__all__.append('cdms')
Expand Down
Loading

0 comments on commit a657c86

Please sign in to comment.