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

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

Added some configuration files

  • 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
7
8v_file = open(os.path.join(os.path.dirname(__file__),
9                       'dj_security', '__init__.py'))
10VERSION = re.compile(r".*__version__ = '(.*?)'",
11                     re.S).match(v_file.read()).group(1)
12
13setup(
14    name='dj_security',
15    version=VERSION,
16    author=u'Maurizio Nagni',
17    author_email='maurizio.nagni@stfc.ac.uk',
18    package_dir = {'dj_security':'dj_security'}, # tell distutils packages are under cedaMoles   
19    packages=find_packages(), # include all packages under this directory   
20    url='http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security', 
21    license='BSD licence, see LICENCE',
22    description='Centralizes the authentication/authorization under a django application',
23    long_description=open('README').read(),
24    zip_safe=False,
25
26    # Adds dependencies   
27    install_requires = ['Django==1.4.2', \
28                        'Paste==1.7.5.1', \
29                        'django-authopenid==1.0.1', \
30                        'ceda-moles-model==0.1.5',
31                        'django-registration==0.8',
32                        'python-openid==2.2.5'],
33)
Note: See TracBrowser for help on using the repository browser.