Mercurial > hg > MakeItSo
annotate setup.py @ 219:7f8820a1c2d6
try again
| author | Jeff Hammel <k0scist@gmail.com> | 
|---|---|
| date | Mon, 14 Dec 2015 13:02:39 -0800 | 
| parents | d61783ce9fd5 | 
| children | 221bb5cea60d | 
| rev | line source | 
|---|---|
| 102 
ad5fd3eb6674
template fixes....not the best, but will do
 Jeff Hammel <jhammel@mozilla.com> parents: 
49diff
changeset | 1 import os | 
| 179 
5bd1c50c6f61
works weirdly but kinda works
 Jeff Hammel <k0scist@gmail.com> parents: 
174diff
changeset | 2 from setuptools import setup | 
| 0 
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: 
49diff
changeset | 4 try: | 
| 
ad5fd3eb6674
template fixes....not the best, but will do
 Jeff Hammel <jhammel@mozilla.com> parents: 
49diff
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: 
49diff
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: 
49diff
changeset | 7 except IOError: | 
| 
ad5fd3eb6674
template fixes....not the best, but will do
 Jeff Hammel <jhammel@mozilla.com> parents: 
49diff
changeset | 8 description = '' | 
| 
ad5fd3eb6674
template fixes....not the best, but will do
 Jeff Hammel <jhammel@mozilla.com> parents: 
49diff
changeset | 9 | 
| 219 | 10 version = '0.3.8' | 
| 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: 
49diff
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', | 
| 173 | 19 author_email='k0scist@gmail.com', | 
| 212 
cffc729926b9
correct text and bump version
 Jeff Hammel <k0scist@gmail.com> parents: 
211diff
changeset | 20 url='http://k0s.org/hg/MakeItSo', | 
| 29 | 21 license='MPL', | 
| 172 | 22 packages=['makeitso'], | 
| 0 
7a76836b50a7
initial (non-working) commit to makeitso
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 23 include_package_data=True, | 
| 211 | 24 package_data={'makeitso': ['python_package/*']}, | 
| 0 
7a76836b50a7
initial (non-working) commit to makeitso
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 25 zip_safe=False, | 
| 
7a76836b50a7
initial (non-working) commit to makeitso
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 26 install_requires=[ | 
| 
7a76836b50a7
initial (non-working) commit to makeitso
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 27 # -*- Extra requirements: -*- | 
| 138 
169e02e190ef
peg to tempita version and eliminate cruft
 Jeff Hammel <jhammel@mozilla.com> parents: 
131diff
changeset | 28 'tempita >= 0.5.1', | 
| 44 
6e08cca7d656
do API variable reading and stubbing a bit for control flow
 Jeff Hammel <jhammel@mozilla.com> parents: 
30diff
changeset | 29 'webob', | 
| 0 
7a76836b50a7
initial (non-working) commit to makeitso
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 30 ], | 
| 
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 # -*- Entry points: -*- | 
| 
7a76836b50a7
initial (non-working) commit to makeitso
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 33 [console_scripts] | 
| 5 
f064be514e53
choose a better filename and remove some stuff from shebang
 Jeff Hammel <jhammel@mozilla.com> parents: 
0diff
changeset | 34 makeitso = makeitso.makeitso:main | 
| 102 
ad5fd3eb6674
template fixes....not the best, but will do
 Jeff Hammel <jhammel@mozilla.com> parents: 
49diff
changeset | 35 make-python-package = makeitso.python:main | 
| 170 | 36 mkpydir = makeitso.mkpydir:main | 
| 174 
aed8c4af5f26
STUB: makeitso/cli.py makeitso/script2package.py setup.py
 Jeff Hammel <k0scist@gmail.com> parents: 
173diff
changeset | 37 script2package = makeitso.script2package:main | 
| 183 | 38 file2template = makeitso.file2template: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: 
102diff
changeset | 39 | 
| 
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: 
102diff
changeset | 40 [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: 
102diff
changeset | 41 python-package = makeitso.python:PythonPackageTemplate | 
| 131 
4922bee3d080
add single module to registered templates
 Jeff Hammel <jhammel@mozilla.com> parents: 
130diff
changeset | 42 python-module = makeitso.python:PythonModuleTemplate | 
| 159 | 43 python-script = makeitso.python:PythonScriptTemplate | 
| 179 
5bd1c50c6f61
works weirdly but kinda works
 Jeff Hammel <k0scist@gmail.com> parents: 
174diff
changeset | 44 setup.py = makeitso.python:SetupPy | 
| 200 | 45 python-unittest = makeitso.python:Unittest | 
| 0 
7a76836b50a7
initial (non-working) commit to makeitso
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 46 """, | 
| 
7a76836b50a7
initial (non-working) commit to makeitso
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 47 ) | 
