source: mauRepo/dj_security/trunk/setup.py @ 8781

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/trunk/setup.py@8781
Revision 8781, 1.5 KB checked in by mnagni, 6 years ago (diff)

Complete - # 22698: [CEDA Site Python Port] MyCEDA Login needs to be more user-friendly
 http://team.ceda.ac.uk/trac/ceda/ticket/22698
Incomplete - # 22852: [CEDA Site Python Port] ResReg? Index page
 http://team.ceda.ac.uk/trac/ceda/ticket/22852

  • Property svn:mime-type set to text/plain
Line 
1# -*- coding: utf-8 -*-
2from distutils.core import setup
3from setuptools import find_packages
4import re
5import os
6
7base_name='dj_security'
8
9v_file = open(os.path.join(os.path.dirname(__file__),
10                       base_name, '__init__.py'))
11
12VERSION = re.compile(r".*__version__ = '(.*?)'",
13                     re.S).match(v_file.read()).group(1)
14
15# allow setup.py to be run from any path
16os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
17
18setup(
19    name=base_name,
20    version=VERSION,
21    author=u'Maurizio Nagni',
22    author_email='maurizio.nagni@stfc.ac.uk',
23    include_package_data = True,     
24    packages=find_packages(), # include all packages under this directory   
25    url='http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security', 
26    license='BSD licence, see LICENCE',
27    description='Centralizes the authentication/authorization under a django application',
28    long_description=open('README').read(),
29    zip_safe=False,
30
31    # Adds dependencies
32    # !!!! BEWARE !!!!
33    ## Do not change Django version to a newer one because the django.http
34    # will miss the str_to_unicode used by the django-authopenid module!!!
35    # !!!! BEWARE !!!!
36    install_requires = ['psycopg2',
37                        'Django==1.4.5',                       
38                        'mezzanine',
39                        'Paste==1.7.5.1',
40                        'cedatheme_mf54',
41                        'django-authopenid==1.0.1',
42                        'userdb_model',
43                        'lxml'],
44)
Note: See TracBrowser for help on using the repository browser.