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

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

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

  • 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
25'''
26zip_safe=False option. It prevents the package manager to install a
27      python egg, instead you'll get a real directory with files in it.
28'''
Note: See TracBrowser for help on using the repository browser.