pylint 1.4.3 version fixes
[cascardo/ipsilon.git] / setup.py
1 #!/usr/bin/python
2 #
3 # Copyright (C) 2014  Ipsilon project Contributors, for licensee see COPYING
4
5 from distutils.core import setup
6 from glob import glob
7
8 DATA = 'share/ipsilon/'
9
10 setup(
11     name = 'ipsilon',
12     version = '0.6.0',
13     license = 'GPLv3+',
14     maintainer = 'Ipsilon project Contributors',
15     maintainer_email = 'ipsilon@lists.fedorahosted.org',
16     url='https://fedorahosted.org/ipsilon/',
17     packages = ['ipsilon', 'ipsilon.admin', 'ipsilon.rest',
18                 'ipsilon.login', 'ipsilon.info', 'ipsilon.util',
19                 'ipsilon.providers', 'ipsilon.providers.saml2',
20                 'ipsilon.providers.openid',
21                 'ipsilon.providers.openid.extensions',
22                 'ipsilon.providers.persona',
23                 'ipsilon.tools', 'ipsilon.helpers',
24                 'tests', 'tests.helpers'],
25     data_files = [('share/man/man7', ["man/ipsilon.7"]),
26                   ('share/doc/ipsilon', ['COPYING', 'README']),
27                   ('share/doc/ipsilon/examples', ['examples/ipsilon.conf',
28                                                   'examples/apache.conf']),
29                   (DATA+'ui/css', glob('ui/css/*.css')),
30                   (DATA+'ui/img', glob('ui/img/*')),
31                   (DATA+'ui/js', glob('ui/js/*.js')),
32                   (DATA+'ui/saml2sp', glob('ui/saml2sp/*.html')),
33                   (DATA+'templates', glob('templates/*.html')),
34                   (DATA+'templates/admin', glob('templates/admin/*.html')),
35                   (DATA+'templates/admin', glob('templates/admin/*.svg')),
36                   (DATA+'templates/login', glob('templates/login/*.html')),
37                   (DATA+'templates/saml2', glob('templates/saml2/*.html')),
38                   (DATA+'templates/openid', glob('templates/openid/*')),
39                   (DATA+'templates/persona', glob('templates/persona/*.html')),
40                   (DATA+'templates/install', glob('templates/install/*.conf')),
41                   (DATA+'templates/install/saml2',
42                    glob('templates/install/saml2/*.conf')),
43                   (DATA+'templates/admin/providers',
44                    glob('templates/admin/providers/*.html')),
45                  ],
46     scripts = ['ipsilon/ipsilon',
47                'ipsilon/install/ipsilon-server-install',
48                'ipsilon/install/ipsilon-client-install']
49 )
50