Skip to content

Commit 3a3d685

Browse files
committedSep 25, 2019
add versioneer
1 parent 5390b43 commit 3a3d685

File tree

6 files changed

+2357
-0
lines changed

6 files changed

+2357
-0
lines changed
 

‎.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ucp/_version.py export-subst

‎MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
include LICENSE
2+
include versioneer.py
3+
include ucp/_version.py

‎setup.cfg

+8
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
[metadata]
22
license_files = LICENSE
3+
4+
[versioneer]
5+
VCS = git
6+
style = pep440
7+
versionfile_source = ucp/_version.py
8+
versionfile_build = ucp/_version.py
9+
tag_prefix =
10+
parentdir_prefix = ucp-

‎ucp/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@
2323

2424
from .public_api import * # noqa
2525
from .utils import get_address # noqa
26+
27+
from ._version import get_versions
28+
__version__ = get_versions()['version']
29+
del get_versions

‎ucp/_version.py

+520
Large diffs are not rendered by default.

‎versioneer.py

+1,822
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.