-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
31 lines (27 loc) · 1.07 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
#!/usr/bin/env python3
# coding=utf-8
from setuptools import setup, find_packages
def requirements_file_to_list(fn='requirements.txt'):
with open(fn, 'r') as f:
return [x.rstrip() for x in list(f) if x and not x.startswith('#')]
setup(
name='TorrentSearcher',
version='1.0.2',
install_requires=requirements_file_to_list(),
py_modules=['TorrentSearch', 'MagnetParser'],
entry_points={'console_scripts': ['torrent_searcher = TorrentSearch:main',]},
author='Carlos Miguel Ferreira',
author_email='[email protected]',
maintainer='Carlos Miguel Ferreira',
maintainer_email='[email protected]',
description='Torrent search engine supporting several torrent tracking platforms.',
long_description=open('README.md').read(),
keywords='Torrents, Search',
license='GPLv3',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)