source: mauRepo/CedaMarkup/trunk/setup.py @ 8373

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/CedaMarkup/trunk/setup.py@8373
Revision 8373, 954 bytes checked in by mnagni, 7 years ago (diff)

Now the package version is defined in ceda_markup.init
setup.py import such attribute

  • 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_markup', '__init__.py'))
8VERSION = re.compile(r".*__version__ = '(.*?)'",
9                     re.S).match(v_file.read()).group(1)
10
11setup(
12    name='ceda-markup',
13    version='0.0.1',
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/CedaMarkup',
18    license='BSD licence, see LICENCE',
19    description='Collection of markup classes as geosrss, gml, atom, rss...' + \
20                ' Contains an OpenSearch server (just the core not the server)',
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.