Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/CedaMarkup/trunk/setup.py@8374
Revision 8374,
954 bytes
checked in by mnagni, 9 years ago
(diff) |
still a fix on the VERSION
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | # -*- coding: utf-8 -*- |
---|
2 | from distutils.core import setup |
---|
3 | from setuptools import find_packages |
---|
4 | import re, os |
---|
5 | |
---|
6 | v_file = open(os.path.join(os.path.dirname(__file__), |
---|
7 | 'ceda_markup', '__init__.py')) |
---|
8 | VERSION = re.compile(r".*__version__ = '(.*?)'", |
---|
9 | re.S).match(v_file.read()).group(1) |
---|
10 | |
---|
11 | setup( |
---|
12 | name='ceda-markup', |
---|
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/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 | ''' |
---|
26 | zip_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.