3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-26 04:32:51 +01:00

setup.py: update comments and my email

This commit is contained in:
James Lu 2017-06-06 12:54:48 -07:00 committed by GitHub
parent f97db31533
commit 41c0191cf9

View File

@ -12,10 +12,10 @@ except ImportError:
from codecs import open from codecs import open
import subprocess import subprocess
# Get version from Git tags.
with open('VERSION', encoding='utf-8') as f: with open('VERSION', encoding='utf-8') as f:
version = f.read().strip() version = f.read().strip()
# Try to fetch the current commit hash from Git.
try: try:
real_version = subprocess.check_output(['git', 'describe', '--tags']).decode('utf-8').strip() real_version = subprocess.check_output(['git', 'describe', '--tags']).decode('utf-8').strip()
except Exception as e: except Exception as e:
@ -48,7 +48,7 @@ setup(
# Author details # Author details
author='James Lu', author='James Lu',
author_email='GLolol@overdrivenetworks.com', author_email='james@overdrivenetworks.com',
# Choose your license # Choose your license
license='MPL 2.0', license='MPL 2.0',