Mercurial > hg > MakeItSo
annotate setup.py @ 153:a5ea79f3221f
.strip() the description
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 01 Dec 2012 19:15:48 -0800 |
parents | 18ef2d7c5b93 |
children | cfd4f1e91090 |
rev | line source |
---|---|
102
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
49
diff
changeset
|
1 import os |
0
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
2 from setuptools import setup, find_packages |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
3 |
102
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
49
diff
changeset
|
4 try: |
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
49
diff
changeset
|
5 here = os.path.dirname(os.path.abspath(__file__)) |
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
49
diff
changeset
|
6 description = file(os.path.join(here, 'README.txt')).read() |
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
49
diff
changeset
|
7 except IOError: |
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
49
diff
changeset
|
8 description = '' |
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
49
diff
changeset
|
9 |
144 | 10 version = '0.2.6' |
0
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
11 |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
12 setup(name='MakeItSo', |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
13 version=version, |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
14 description='filesystem template interpreter', |
102
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
49
diff
changeset
|
15 long_description=description, |
0
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
16 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
119 | 17 keywords='templates', |
0
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
18 author='Jeff Hammel', |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
19 author_email='jhammel@mozilla.com', |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
20 url='http://k0s.org/', |
29 | 21 license='MPL', |
0
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
22 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
23 include_package_data=True, |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
24 zip_safe=False, |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
25 install_requires=[ |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
26 # -*- Extra requirements: -*- |
138
169e02e190ef
peg to tempita version and eliminate cruft
Jeff Hammel <jhammel@mozilla.com>
parents:
131
diff
changeset
|
27 'tempita >= 0.5.1', |
44
6e08cca7d656
do API variable reading and stubbing a bit for control flow
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
28 'webob', |
0
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
29 ], |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
30 entry_points=""" |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
31 # -*- Entry points: -*- |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
32 [console_scripts] |
5
f064be514e53
choose a better filename and remove some stuff from shebang
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
33 makeitso = makeitso.makeitso:main |
102
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
49
diff
changeset
|
34 make-python-package = makeitso.python:main |
105
67b50417b8d1
stub out loading api templates; this wont work, however, since one is in the middle of a module trying to load a module that depends on the module you are in
Jeff Hammel <jhammel@mozilla.com>
parents:
102
diff
changeset
|
35 |
67b50417b8d1
stub out loading api templates; this wont work, however, since one is in the middle of a module trying to load a module that depends on the module you are in
Jeff Hammel <jhammel@mozilla.com>
parents:
102
diff
changeset
|
36 [makeitso.templates] |
67b50417b8d1
stub out loading api templates; this wont work, however, since one is in the middle of a module trying to load a module that depends on the module you are in
Jeff Hammel <jhammel@mozilla.com>
parents:
102
diff
changeset
|
37 python-package = makeitso.python:PythonPackageTemplate |
131
4922bee3d080
add single module to registered templates
Jeff Hammel <jhammel@mozilla.com>
parents:
130
diff
changeset
|
38 python-module = makeitso.python:PythonModuleTemplate |
0
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
39 """, |
7a76836b50a7
initial (non-working) commit to makeitso
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
40 ) |