1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-09 09:59:51 +01:00
pirate-get/setup.py

38 lines
1.4 KiB
Python
Raw Normal View History

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
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',
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',
'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')