2015-08-30 08:14:21 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
from setuptools import setup, find_packages
|
2016-07-04 13:16:42 +02:00
|
|
|
from distutils.version import LooseVersion
|
|
|
|
import sys
|
2016-09-20 19:47:27 +02:00
|
|
|
import pirate.data
|
2015-08-30 03:26:54 +02:00
|
|
|
|
2016-07-04 13:16:42 +02:00
|
|
|
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',
|
2016-09-20 19:47:27 +02:00
|
|
|
version=pirate.data.version,
|
2016-07-04 13:16:42 +02:00
|
|
|
description='A command line interface for The Pirate Bay',
|
|
|
|
url='https://github.com/vikstrous/pirate-get',
|
|
|
|
author='vikstrous',
|
|
|
|
author_email='me@viktorstanchev.com',
|
|
|
|
license='AGPL',
|
|
|
|
packages=find_packages(),
|
2020-05-28 13:48:19 +02:00
|
|
|
package_data={'': ["data/*", "tests/data/*"]},
|
2016-07-04 13:16:42 +02:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': ['pirate-get = pirate.pirate:main']
|
|
|
|
},
|
|
|
|
install_requires=['colorama>=0.3.3',
|
2018-06-15 01:19:56 +02:00
|
|
|
'veryprettytable>=0.8.1',
|
|
|
|
'pyperclip>=1.6.2'],
|
2016-07-04 13:16:42 +02:00
|
|
|
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')
|