-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·54 lines (50 loc) · 1.57 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
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
"""pysub-dl project"""
requirements = []
with open('README.md') as text:
long_description = text.read()
try:
from setuptools import setup, find_packages
except ImportError:
requirements.append('setuptools')
try:
import BeautifulSoup
except ImportError:
requirements.append('BeautifulSoup')
try:
import requests
except ImportError:
requirements.append('requests')
try:
import argparse
except ImportError:
requirements.append('argparse')
setup(name = 'pysub-dl',
version = '0.3.3',
description = "Script to download movie subtitles automatically",
long_description = long_description,
platforms = ["Linux"],
author = "iamsudip",
author_email = "[email protected]",
url = "http://iamsudip.github.io/pysub-dl",
license = "MIT",
packages = find_packages(),
install_requires = requirements,
dependency_links = ['https://pypi.python.org/pypi/requests/1.2.3',
'https://pypi.python.org/pypi/BeautifulSoup/3.2.1',
'https://pypi.python.org/pypi/setuptools/0.6c11',
'https://pypi.python.org/pypi/argparse/1.2.1'
],
include_package_data = True,
scripts = ['pysub-dl', 'download_it.py', 'prompt_user.py'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Intended Audience :: End Users/Desktop',
'Topic :: Multimedia :: Video',
'Topic :: Utilities',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
]
)