-
Notifications
You must be signed in to change notification settings - Fork 53
/
setup.py
executable file
·37 lines (35 loc) · 1.37 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
from distutils.version import LooseVersion
import sys
import pirate.data
if LooseVersion(sys.version) < LooseVersion("3.4.0"):
print("pirate-get requires at least python 3.4.0."
" Your version is %s." % sys.version.split()[0])
sys.exit(1)
if __name__ == '__main__':
setup(name='pirate-get',
version=pirate.data.version,
description='A command line interface for The Pirate Bay',
url='https://github.com/vikstrous/pirate-get',
author='vikstrous',
author_email='[email protected]',
license='AGPL',
packages=find_packages(),
package_data={'': ["data/*", "tests/data/*"]},
entry_points={
'console_scripts': ['pirate-get = pirate.pirate:main']
},
install_requires=['colorama>=0.3.3',
'veryprettytable>=0.8.1',
'pyperclip>=1.6.2'],
keywords=['torrent', 'magnet', 'download', 'tpb', 'client'],
classifiers=[
'Topic :: Utilities',
'Topic :: Terminals',
'Topic :: System :: Networking',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'License :: OSI Approved :: GNU General Public License (GPL)',
],
test_suite='tests')