source: mauRepo/MolesManager/trunk/setup.py @ 8522

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

Incomplete - # 22528: Migration of FAtCat Open Search link for HPFeld
 http://team.ceda.ac.uk/trac/ceda/ticket/22528
Incomplete - # 22534: Add versiojn number to the gui page
 http://team.ceda.ac.uk/trac/ceda/ticket/22534

Line 
1# -*- coding: utf-8 -*-
2from distutils.core import setup
3from setuptools import find_packages
4import re, os, time
5
6v_file = open(os.path.join(os.path.dirname(__file__), 
7                       'cedaMoles', '__init__.py'))
8VERSION = re.compile(r".*__version__ = '(.*?)'",
9                     re.S).match(v_file.read()).group(1)
10
11if os.environ.has_key('SVN_REVISION'):
12    VERSION = VERSION + '_' + os.environ['SVN_REVISION']
13
14setup(
15    name='cedaMoles',
16    version=VERSION,
17    author=u'Maurizio Nagni',
18    author_email='maurizio.nagni@stfc.ac.uk',
19    package_dir = {'cedaMoles':'cedaMoles'}, # tell distutils packages are under cedaMoles
20    package_data={'cedaMoles': ['MolesManager/static/*']},   
21    packages=find_packages(), # include all packages under this directory   
22    url='http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager', 
23    license='BSD licence, see LICENCE',
24    description='Views and edits the cedaMoles metadata',
25    long_description=open('README').read(),
26    zip_safe=False,
27
28
29    # Adds dependencies
30    # For CEDA PACKAGES as ceda-moles-model please add something like
31    # --extra-index-url http://ciprod1.cems.rl.ac.uk/pip
32    # to your pip install
33   
34    install_requires = ['SQLAlchemy>=0.7.5', \
35                        'django==1.3.1', \
36                        'html5lib==0.95', \
37                        'ceda-moles-model==0.1.5',
38                        'psycopg2',
39                        'nose'],
40)
41
42'''
43zip_safe=False option. It prevents the package manager to install a
44      python egg, instead you'll get a real directory with files in it.
45'''
Note: See TracBrowser for help on using the repository browser.