Skip to content

Commit 9d95a94

Browse files
committed
fix: travis ci
1 parent da57e0f commit 9d95a94

File tree

2 files changed

+12
-18
lines changed

2 files changed

+12
-18
lines changed

consulate/__init__.py

-8
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
ServerError,
1818
)
1919

20-
__version__ = "1.0.0"
21-
22-
__author__ = "Gavin M. Roy"
23-
__email__ = "[email protected]"
24-
25-
__maintainer__ = "Alberto Vara"
26-
__maintainer_email__ = "[email protected]"
27-
2820
# Prevent undesired log output to the root logger
2921
logging.getLogger("consulate").addHandler(NullHandler())
3022

setup.py

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import setuptools
22

3-
author = __import__("consulate").__author__
4-
author_email = __import__("consulate").__email__
5-
maintainer = __import__("consulate").__maintainer__
6-
maintainer_email = __import__("consulate").__maintainer_email__
7-
version = __import__("consulate").__version__
3+
__version__ = "1.0.0"
4+
5+
__author__ = "Gavin M. Roy"
6+
__email__ = "[email protected]"
7+
8+
__maintainer__ = "Alberto Vara"
9+
__maintainer_email__ = "[email protected]"
810

911
install_requires = [
1012
"requests>=2.24.0",
@@ -33,12 +35,12 @@
3335

3436
setuptools.setup(
3537
name="py-ms-consulate",
36-
version=version,
37-
author=author,
38-
author_email=author_email,
38+
version=__version__,
39+
author=__author__,
40+
author_email=__email__,
3941
description="A Client library and command line application for the Consul",
40-
maintainer=maintainer,
41-
maintainer_email=maintainer_email,
42+
maintainer=__maintainer__,
43+
maintainer_email=__maintainer_email__,
4244
url="https://consulate.readthedocs.org",
4345
install_requires=install_requires,
4446
extras_require={"unixsocket": install_extra_requires, "tests": install_tests_requires},

0 commit comments

Comments
 (0)