Skip to content

Commit

Permalink
Use versioneer for versioning
Browse files Browse the repository at this point in the history
This is commonly used by other dask projects, and avoids having to keep
versions stable between `setup.py` and `__init__.py` (and also marks dev
versions appropriately).
  • Loading branch information
jcrist committed Apr 25, 2019
1 parent 4ba83a7 commit e1cb007
Show file tree
Hide file tree
Showing 7 changed files with 2,359 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dask_kubernetes/_version.py export-subst
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ include LICENSE
include README.rst
include requirements.txt
include MANIFEST.in
include versioneer.py

recursive-exclude * __pycache__
recursive-exclude * *.py[co]
include versioneer.py
include dask_jobqueue/_version.py
4 changes: 3 additions & 1 deletion dask_kubernetes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@

__all__ = [KubeCluster]

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

0 comments on commit e1cb007

Please sign in to comment.