forked from fedora-infra/python-fedora
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·73 lines (69 loc) · 2.67 KB
/
setup.py
File metadata and controls
executable file
·73 lines (69 loc) · 2.67 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/python -tt
# Work around setuptools multi-version silliness
try:
__requires__ = ['CherryPy < 3', 'Sphinx >= 1.0']
import pkg_resources
except:
# And also workaround the workaround being broken inside of a virtualenv
# *sigh* setuptools is such a broken implementation
# When setuptools is imported later, it will see the CherryPy requirement
# and barf. So we have to delete it here.
del __requires__
execfile("fedora/release.py")
from setuptools import find_packages, setup
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
license=LICENSE,
keywords='Fedora Python Webservices',
url=URL,
download_url=DOWNLOAD_URL,
packages=find_packages(),
py_modules=['flask_fas', 'flask_fas_openid'],
include_package_data=True,
# non-setuptools package. When everything we care about uses
# python-2.5 distutils we can add these:
# for bodhi (koji yum)
install_requires=['bunch', 'kitchen', 'requests', 'beautifulsoup4', 'urllib3'],
extras_require={
'tg': ['TurboGears >= 1.0.4', 'SQLAlchemy', 'decorator'],
'wsgi': ['repoze.who', 'Beaker', 'Paste'],
'flask': [
'Flask', 'Flask_WTF', 'python-openid', 'python-openid-teams',
'python-openid-cla',
],
},
entry_points={
'turbogears.identity.provider': (
'jsonfas = fedora.tg.identity.jsonfasprovider1:JsonFasIdentityProvider [tg]',
'jsonfas2 = fedora.tg.identity.jsonfasprovider2:JsonFasIdentityProvider [tg]',
'sqlobjectcsrf = fedora.tg.identity.soprovidercsrf:SqlObjectCsrfIdentityProvider [tg]'),
'turbogears.visit.manager': (
'jsonfas = fedora.tg.visit.jsonfasvisit1:JsonFasVisitManager [tg]',
'jsonfas2 = fedora.tg.visit.jsonfasvisit2:JsonFasVisitManager [tg]'
),
},
message_extractors={
'fedora': [
('**.py', 'python', None),
('tg2/templates/mako/**.mak', 'mako', None),
('tg2/templates/genshi/**.html', 'mako', None),
('tg/templates/genshi/**.html', 'genshi', None),
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: TurboGears',
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)