This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
46 lines (44 loc) · 1.58 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
#!/usr/bin/env python
from setuptools import setup, find_packages
__author__ = 'rolandh'
PRE = "src/idpproxy/metadata/files"
HTDOCS = "%s/mako/htdocs" % PRE
TEMPL = "%s/mako/templates" % PRE
STAT = "%s/static" % PRE
TARGET = "idpproxy/metadata/files"
setup(
name="idpproxy",
version="0.2.1",
description="Proxy between social services and SAML2",
author="Roland Hedberg",
author_email="[email protected]",
license="Apache 2.0",
packages=find_packages("src"),
package_dir={"": "src"},
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries :: Python Modules"
],
install_requires=[
'pysaml2',
'mako',
'pycrypto',
'oic',
],
zip_safe=False,
data_files=[
("%s/mako/htdocs" % TARGET, ["%s/metadata.mako" % HTDOCS,
"%s/metadataverify.mako" % HTDOCS,
"%s/metadatasave.mako" % HTDOCS]),
("%s/mako/templates" % TARGET, ["%s/root.mako" % TEMPL]),
("%s/static" % TARGET, ["%s/jquery.min.1.9.1.js" % STAT,
"%s/popup.css" % STAT,
"%s/popup.js" % STAT,
"%s/rest.js" % STAT,
"%s/serializeJSON.js" % STAT,
"%s/style.css" % STAT,
"%s/unknown.html" % STAT,
"%s/unknownError.html" % STAT])
]
)