-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
27 lines (25 loc) · 1002 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import os
import os.path
import subprocess
from distutils.core import setup
git_version = 'UNKNOWN'
try:
git_version = str(subprocess.check_output(['git', 'rev-parse', '--verify', '--short', 'HEAD'])).strip()
except subprocess.CalledProcessError as e:
# print "Got error when trying to read git version: %s" % e
pass
setup(
name='gpmf',
version='0.0.1dev-%s' % git_version,
# version='0.6.6',
author='Eero "rambo" af Heurlin',
author_email='[email protected]',
packages=['gpmf', ],
license='MIT',
long_description=open('README.md').read(),
description='GoPro Metadata Format parser',
#install_requires=open(os.path.join(os.path.dirname(__file__), 'requirements.txt'), 'rt').readlines(),
install_requires=['construct==2.8.12', 'python-dateutil==2.6.1', 'hachoir3==3.0a2'],
dependency_links=['https://github.com/rambo/hachoir3/archive/hotfix_302a_EditableTimestampMac32.zip#egg=hachoir3-3.0a2',],
url='https://github.com/rambo/python-gpmf',
)