-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·47 lines (40 loc) · 1.49 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
42
43
44
45
46
47
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
from setuptools import setup
try:
from lib2to3 import refactor
fixers = set(refactor.get_fixers_from_package('lib2to3.fixes'))
except ImportError:
fixers = set()
with open('README') as readme:
documentation = readme.read()
setup(
name = 'shifter',
version = '2.75',
py_modules = ['shifter'],
author = 'Terence Honles',
author_email = '[email protected]',
description = 'Transmission RPC Bindings',
long_description = documentation,
license = 'PSF',
keywords = 'Transmission RPC torrent',
url = 'https://github.com/terencehonles/shifter',
use_2to3 = True,
# only use the following fixers (everything else is already compatible)
use_2to3_exclude_fixers = fixers - set([
'lib2to3.fixes.fix_future',
'lib2to3.fixes.fix_reduce',
'lib2to3.fixes.fix_urllib',
]),
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Python Software Foundation License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries',
]
)