annotate setup.py @ 1:dd3f3918cb88 default tip

give a version
author Jeff Hammel <k0scist@gmail.com>
date Thu, 14 Jul 2016 12:32:36 -0700
parents 6670fe246450
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 import os
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2 from setuptools import setup
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4 try:
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
5 here = os.path.dirname(os.path.abspath(__file__))
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
6 description = file(os.path.join(here, 'README.txt')).read()
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
7 except IOError:
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
8 description = None
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
9
1
dd3f3918cb88 give a version
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
10 version = '0.1'
0
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
11
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
12 deps = []
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
13
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
14 setup(name='a8e',
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
15 version=version,
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
16 description="a8e is `a8e abbreviate`",
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
17 long_description=description,
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
18 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
19 keywords='',
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
20 author='Jeff Hammel',
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
21 author_email='k0scist@gmail.com',
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
22 url='http://k0s.org/hg/a8e',
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
23 license='',
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
24 py_modules=['a8e'],
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
25 packages=[],
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
26 include_package_data=True,
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
27 zip_safe=False,
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
28 install_requires=deps,
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
29 entry_points="""
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
30 # -*- Entry points: -*-
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
31 [console_scripts]
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
32 a8e = a8e:main
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
33 """,
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
34 )
6670fe246450 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
35