Index: setup.py =================================================================== diff -u -r6388ebc1ce5d1126394c2718e0d9c5ddf7990bef -re0eadb4bf0d4db2d0c3a053a992f5c9cf5c165c4 --- setup.py (.../setup.py) (revision 6388ebc1ce5d1126394c2718e0d9c5ddf7990bef) +++ setup.py (.../setup.py) (revision e0eadb4bf0d4db2d0c3a053a992f5c9cf5c165c4) @@ -59,40 +59,34 @@ DEV_VERSION = VERSION -if check_if_git_repo(): - branch = get_branch() - commit = get_last_commit() - DEV_VERSION += "+{0}".format(branch) - DEV_VERSION += ".{0}".format(commit) - if __name__ == '__main__': - check_if_git_repo() - setuptools.setup( - name="leahi_dialin", - author="Micheal Garthwaite", - author_email="mgarthwaite@diality.com", - description="The Diality Dialin API", - packages=setuptools.find_packages(exclude=["test*", "tools", "venv"]), - classifiers=[ # all classifiers: https://pypi.org/classifiers/ - "Programming Language :: Python :: 3.6", - "Operating System :: POSIX :: Linux", - ], - python_requires="~=3.6", - version=DEV_VERSION, - install_requires=[ - "aenum", - "cycler", - "importlib-metadata", - "kiwisolver", - "matplotlib", - "numpy", - "openpyxl", - "pandas", - "pyparsing", - "python-can", - "python-dateutil", - "six", - "wrapt", - ] - ) + if check_if_git_repo(): + setuptools.setup( + name="leahi_dialin", + author="Jonny Paguio", + author_email="jpaguio@diality.com", + description="The Diality Dialin API", + packages=setuptools.find_packages(exclude=["test*", "tools", "venv"]), + classifiers=[ # all classifiers: https://pypi.org/classifiers/ + "Programming Language :: Python :: 3.6", + "Operating System :: POSIX :: Linux", + ], + python_requires="~=3.6", + version=DEV_VERSION, + install_requires=[ + "aenum", + "cycler", + "importlib-metadata", + "kiwisolver", + "matplotlib", + "numpy", + "openpyxl", + "pandas", + "pyparsing", + "python-can", + "python-dateutil", + "six", + "wrapt", + ] + )