forked from IdentityPython/pyFF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·89 lines (82 loc) · 2.89 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from distutils.core import setup
from platform import python_implementation
from sys import version_info
from os.path import abspath, dirname, join
from setuptools import find_packages
__author__ = 'Leif Johansson'
__version__ = '0.10.0.dev0'
here = abspath(dirname(__file__))
README = open(join(here, 'README.rst')).read()
NEWS = open(join(here, 'NEWS.txt')).read()
install_requires = [
'lxml==4.1.1',
'pyyaml >=3.10',
'pyXMLSecurity >=0.15',
'cherrypy >=3.2.0',
'iso8601 >=0.1.4',
'simplejson >=2.6.2',
'jinja2',
'httplib2 >=0.7.7',
'ipaddr',
'publicsuffix',
'redis',
'futures',
'requests',
'requests_cache',
'requests_file',
'pyconfig',
'pyyaml',
'multiprocess',
'minify'
]
python_implementation_str = python_implementation()
if not (python_implementation_str == 'CPython' and version_info.major == 2 and (version_info.minor == 6 or version_info.minor == 7)):
raise RuntimeError('ERROR: running under unsupported {python_implementation_str:s} version '
'{major_version:d}.{minor_version:d}. Please consult the documentation for supported platforms. '
.format(python_implementation_str=python_implementation_str,
major_version=version_info.major,
minor_version=version_info.minor))
setup(name='pyFF',
version=__version__,
description="Federation Feeder",
long_description=README + '\n\n' + NEWS,
classifiers=[
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
],
keywords='identity federation saml metadata',
author=__author__,
author_email='leifj@sunet.se',
url='http://blogs.mnt.se',
license='BSD',
setup_requires=['nose>=1.0'],
tests_require=['pbr', 'coverage', 'nose>=1.0', 'mock', 'mako', 'mockredispy', 'testfixtures'],
test_suite="nose.collector",
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
package_data={
'pyff': ['xslt/*.xsl',
'site/static/js/*.js',
'site/static/js/select2/*',
'site/static/fonts/*',
'site/static/css/*.css',
'site/templates/*',
'site/icons/*',
'site/static/bootstrap/fonts/*',
'site/static/bootstrap/js/*',
'site/static/bootstrap/css/*',
'site/static/bootstrap/img/*',
'schema/*.xsd']
},
zip_safe=False,
install_requires=install_requires,
entry_points={
'console_scripts': ['pyff=pyff.md:main', 'pyffd=pyff.mdx:main']
},
message_extractors={'src': [
('**.py', 'python', None),
('**/templates/**.html', 'mako', None),
]},
)