Skip to content

Commit 86332c6

Browse files
committed
Switch to versioneer to simplify version handling
1 parent ee55bac commit 86332c6

File tree

7 files changed

+2357
-16
lines changed

7 files changed

+2357
-16
lines changed

Diff for: .gitattributes

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

Diff for: MANIFEST.in

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ include README.rst
33
include LICENSE
44
include HISTORY.rst
55
include AUTHORS
6+
include versioneer.py
7+
include httpx_gssapi/_version.py
8+
include test_httpx_gssapi.py

Diff for: httpx_gssapi/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@
2121
'OPTIONAL',
2222
'DISABLED',
2323
)
24-
__version__ = '1.0.0'
2524

2625
import logging
2726

2827
from .gssapi_ import HTTPSPNEGOAuth, REQUIRED, OPTIONAL, DISABLED
2928
from .exceptions import MutualAuthenticationError
3029
from .compat import HTTPKerberosAuth
3130

31+
from ._version import get_versions
32+
__version__ = get_versions()['version']
33+
del get_versions
34+
3235
logging.getLogger(__name__).addHandler(logging.NullHandler())

0 commit comments

Comments
 (0)