source: mauRepo/CedaMolesModel/trunk/setup.py @ 8386

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/CedaMolesModel/trunk/setup.py@8386
Revision 8386, 1.0 KB checked in by mnagni, 8 years ago (diff)

Added dependence from SQLAlchemy in setup.py

  • 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, os
5
6v_file = open(os.path.join(os.path.dirname(__file__),
7                        'ceda_moles_model', '__init__.py'))
8VERSION = re.compile(r".*__version__ = '(.*?)'",
9                     re.S).match(v_file.read()).group(1)
10
11setup(
12    name='ceda-moles-model',
13    version=VERSION,
14    author=u'Maurizio Nagni',
15    author_email='maurizio.nagni',
16    packages=find_packages(),
17    url='http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/CedaMolesModel',
18    license='BSD licence, see LICENCE',
19    description='Describe the CedaMoles model using python classes.' + \
20                ' The package is also able to be deploy in an SQLAlchemy instance',
21    long_description=open('README').read(),
22    zip_safe=False,
23
24    # Adds dependencies
25    install_requires = ['SQLAlchemy>=0.7.5'],
26)
27
28'''
29zip_safe=False option. It prevents the package manager to install a
30      python egg, instead you'll get a real directory with files in it.
31'''
Note: See TracBrowser for help on using the repository browser.