-
Notifications
You must be signed in to change notification settings - Fork 120
/
setup.py
41 lines (39 loc) · 1.42 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
#-*- coding:UTF-8 -*-
from setuptools import setup, find_packages
from autoremovetorrents.version import __version__
from autoremovetorrents.compatibility.disk_usage_ import SUPPORT_SHUTIL
from autoremovetorrents.compatibility.open_ import open_
from autoremovetorrents.compatibility.pyyaml_version_ import PYYAML_VERSION
setup(name = 'autoremove-torrents',
version = __version__,
description = 'Automatically remove torrents according to your strategies.',
long_description = open_('README.rst', 'r', encoding='utf-8').read(),
long_description_content_type = 'text/x-rst',
classifiers = [
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
], # Get classifiers from https://pypi.org/pypi?%3Aaction=list_classifiers
keywords = 'python autoremove torrent',
author = 'jerrymakesjelly',
author_email = '[email protected]',
url = 'https://github.com/jerrymakesjelly/autoremove-torrents',
license = 'MIT',
packages = find_packages(),
include_package_data = True,
zip_safe = True,
install_requires = [
'deluge-client',
'enum34',
'ply',
'' if SUPPORT_SHUTIL else 'psutil',
PYYAML_VERSION,
'requests',
],
entry_points = {
'console_scripts':[
'autoremove-torrents = autoremovetorrents.main:main'
]
}
)