forked from antiboredom/videogrep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (35 loc) · 1.19 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
from distutils.core import Command
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
with open('README.md') as readme:
long_description = readme.read()
except IOError:
long_description =''
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys, subprocess
errno = subprocess.call([sys.executable, 'runtest.py'])
raise SystemExit(errno)
setup(name='videogrep',
version = '0.5.0',
description = 'Python utility for creating video out of their subtitle files',
long_description = long_description,
download_url = 'https://github.com/antiboredom/videogrep/archive/master.zip',
url='http://github.com/antiboredom/videogrep',
author = 'Sam Lavigne',
author_email = '[email protected]',
test_suite = 'videogrep.tests',
packages = ['videogrep','videogrep.tools','videogrep.tests'],
install_requires= ["audiogrep", "Pattern", "moviepy"],
scripts = ['bin/videogrep'],
classifiers = [],
license='MIT',
cmdclass = {'test': PyTest})