Mercurial > mozilla > hg > disparity
comparison setup.py @ 0:02b140ae3e78
the dumping ground begins
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 20 Feb 2013 11:15:11 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:02b140ae3e78 |
---|---|
1 """ | |
2 setup packaging script for disparity | |
3 """ | |
4 | |
5 import os | |
6 | |
7 version = "0.0" | |
8 dependencies = ['webob'] | |
9 | |
10 # allow use of setuptools/distribute or distutils | |
11 kw = {} | |
12 try: | |
13 from setuptools import setup | |
14 kw['entry_points'] = """ | |
15 [console_scripts] | |
16 """ | |
17 kw['install_requires'] = dependencies | |
18 except ImportError: | |
19 from distutils.core import setup | |
20 kw['requires'] = dependencies | |
21 | |
22 try: | |
23 here = os.path.dirname(os.path.abspath(__file__)) | |
24 description = file(os.path.join(here, 'README.txt')).read() | |
25 except IOError: | |
26 description = '' | |
27 | |
28 | |
29 setup(name='disparity', | |
30 version=version, | |
31 description="mediawiki syntax proxy server for https://developer.mozilla.org/en-US/", | |
32 long_description=description, | |
33 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
34 author='Jeff Hammel', | |
35 author_email='jhammel@mozilla.com', | |
36 url='http://k0s.org/mozilla/hg/disparity', | |
37 license='MPL', | |
38 packages=['disparity'], | |
39 include_package_data=True, | |
40 zip_safe=False, | |
41 **kw | |
42 ) | |
43 |