Skip to content

Commit

Permalink
Switch to versioneer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoppert committed Jan 23, 2017
1 parent 94ecaea commit 5e97d71
Show file tree
Hide file tree
Showing 7 changed files with 2,390 additions and 139 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
px4tools/_version.py export-subst
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include LICENSE
include versioneer.py
include px4tools/_version.py
6 changes: 6 additions & 0 deletions px4tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

from .pandas_monkeypatch import *

from ._version import *

try:
from .mapping import *
except ImportError as ex:
Expand Down Expand Up @@ -39,3 +41,7 @@
please install:
pip install control
''')

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

0 comments on commit 5e97d71

Please sign in to comment.