forked from rndusr/stig
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (41 loc) · 1.42 KB
/
setup.py
File metadata and controls
50 lines (41 loc) · 1.42 KB
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
42
43
44
45
46
47
48
49
50
# Create long_description from README.org if possible
long_description = ''
try:
import pypandoc
import os
if os.path.exists('README.org'):
long_description = pypandoc.convert('README.org', 'rst')
except ImportError:
pass
with open('stig/version.py') as f:
exec(f.read()) # Load __version__ into globals()
from setuptools import setup, find_packages
setup(
name = 'stig',
version = __version__,
license = 'GPLv3+',
author = 'Random User',
author_email = 'rndusr@posteo.de',
description = 'TUI and CLI client for the Transmission daemon',
long_description = long_description,
url = 'https://github.com/rndusr/stig',
keywords = 'bittorrent torrent transmission',
packages = find_packages(),
package_data = {'stig': ['settings/default.theme']},
install_requires = [
'urwid>=1.3.0',
'aiohttp>=0.22.5',
'urwidtrees>=1.0.3dev0',
'appdirs',
'blinker',
],
entry_points = { 'console_scripts': [ 'stig = stig:run' ] },
classifiers = [
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Console',
'Operating System :: Unix',
'Development Status :: 3 - Alpha',
],
)