source: mauRepo/dj_security_middleware/trunk/dj_security_middleware/setup.py @ 8655

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

Share project "dj_security_middleware" into " http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security_middleware"

  • 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_middleware', '__init__.py'))
10VERSION = re.compile(r".*__version__ = '(.*?)'",
11                     re.S).match(v_file.read()).group(1)
12
13setup(
14    name='dj_security_middleware',
15    version=VERSION,
16    author=u'Maurizio Nagni',
17    author_email='maurizio.nagni@stfc.ac.uk',
18    package_dir = {'dj_security_middleware':'dj_security_middleware'}, # 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_middleware', 
21    license='BSD licence, see LICENCE',
22    description='Adds a layer to interact with a paste enabled, Django based, security service \
23    typically a dj_security app',
24    long_description=open('README').read(),
25    zip_safe=False,
26
27    # Adds dependencies   
28    install_requires = ['Django', \
29                        'Paste==1.7.5.1'],
30)
Note: See TracBrowser for help on using the repository browser.