-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
66 lines (58 loc) · 1.67 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
from setuptools import setup
import os
import sys
PACKAGE = 'TracAuthOpenId'
VERSION = '0.4.8'
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
install_requires = [
"python-openid >= 2.1.0",
]
if sys.version_info[:2] < (2,6):
install_requires.extend([
'simplejson',
])
setup(
name=PACKAGE,
version=VERSION,
description='OpenID plugin for Trac',
long_description=README + "\n\n" + CHANGES,
platforms = ['Any'],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Plugins",
"Environment :: Web Environment",
"Framework :: Trac",
"Intended Audience :: System Administrators",
"Topic :: Internet :: WWW/HTTP",
"Programming Language :: Python :: 2",
"License :: OSI Approved :: BSD License",
],
keywords='trac openid',
author='Dalius Dobravolskas',
author_email='[email protected]',
maintainer='Jeff Dairiki',
maintainer_email='[email protected]',
url='https://github.com/trac-hacks/authopenid-plugin/',
license='Trac license (BSD-like)',
packages=['authopenid'],
package_data={
'authopenid': [
'templates/*.html',
'htdocs/css/*.css',
'htdocs/images/*.gif',
'htdocs/images/*.ico',
'htdocs/js/*.js'
],
},
entry_points={
'trac.plugins': [
'%s = authopenid' % PACKAGE,
],
},
install_requires=install_requires,
extras_require = {
'teams': ['python-openid-teams'],
},
)