forked from pbs/pycaption
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (27 loc) · 923 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
28
29
30
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
README_PATH = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
'README.rst')
with open('requirements.txt') as f:
requirements = f.read().splitlines()
install_requires = [req for req in requirements if not req.startswith('git+')]
install_requires += [req.split('#egg=')[1] + ' @ ' + req for req in requirements if req.startswith('git+')]
print(install_requires)
setup(
name='pycaption',
version='1.2.0',
description='Closed caption converter',
long_description=open(README_PATH).read(),
author='Sebastian Annies',
author_email='sebastian.annies@castlabs.com',
url='https://github.com/castlabs/pycaption',
install_requires=install_requires,
packages=find_packages(),
include_package_data=True,
classifiers=[
'Topic :: Multimedia :: Video',
],
test_suite="tests",
)