annotate makeitso/python_module/setup.py @ 196:d25ca7099df8

STUB: makeitso/python_package/{{package}}/{{main}}.py
author Jeff Hammel <k0scist@gmail.com>
date Sat, 24 May 2014 18:24:17 -0700
parents 57834c2b0937
children ee29d37198a3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
129
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 import os
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 from setuptools import setup
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 try:
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 here = os.path.dirname(os.path.abspath(__file__))
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 description = file(os.path.join(here, 'README.txt')).read()
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 except IOError:
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 description = None
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 version = '0.0'
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 deps = []
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 setup(name='{{module}}',
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 version=version,
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
16 description="{{description}}",
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
17 long_description=description,
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
18 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19 keywords='mozilla',
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
20 author='{{author}}',
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21 author_email='{{email}}',
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
22 url='{{url}}',
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
23 license='',
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
24 py_modules=['{{module}}'],
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
25 packages=[],
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
26 include_package_data=True,
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
27 zip_safe=False,
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
28 install_requires=deps,
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
29 entry_points="""
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
30 # -*- Entry points: -*-
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
31 [console_scripts]
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
32 {{module}} = {{module}}:main
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
33 """,
57834c2b0937 add a single-file module to the thingy
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
34 )