Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 17a388d

Browse files
authored
Merge pull request #151 from scikit-learn-contrib/versioneering
User versioneer for versioning
2 parents 74b0a66 + 4fc94a0 commit 17a388d

File tree

7 files changed

+2367
-8
lines changed

7 files changed

+2367
-8
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyearth/_version.py export-subst

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ include pyearth/test/pathological_data
66
include README.md
77
include LICENSE.txt
88
include CHANGES.txt
9+
include versioneer.py
10+
include pyearth/_version.py

pyearth/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
44
@author: jasonrudy
55
'''
6-
7-
from ._version import __version__
86
from .earth import Earth
7+
8+
from ._version import get_versions
9+
__version__ = get_versions()['version']
10+
del get_versions

0 commit comments

Comments
 (0)