annotate setup.py @ 24:099f270654ae

more wip
author Jeff Hammel <k0scist@gmail.com>
date Sun, 10 May 2015 21:05:24 -0700
parents f9cf249dd512
children ccd73b01ba79
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 from setuptools import setup, find_packages
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 import sys, os
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 try:
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 description = file('README.txt').read()
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 except IOError:
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 description = ''
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8
20
f9cf249dd512 bump version to respect formatting fixes
Jeff Hammel <jhammel@mozilla.com>
parents: 16
diff changeset
9 version = "0.1.2"
0
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11 setup(name='svgsitemap',
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 version=version,
3
fc09a7ffb767 fill out setup.py
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
13 description="a site map using PyGraphviz and svg",
0
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 long_description=description,
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
3
fc09a7ffb767 fill out setup.py
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
16 author='Jeff Hammel',
fc09a7ffb767 fill out setup.py
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
17 author_email='jhammel@mozilla.com',
fc09a7ffb767 fill out setup.py
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
18 url='http://k0s.org/map.svg',
fc09a7ffb767 fill out setup.py
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
19 license="MPL",
0
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
20 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21 include_package_data=True,
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
22 zip_safe=False,
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
23 install_requires=[
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
24 # -*- Extra requirements: -*-
3
fc09a7ffb767 fill out setup.py
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
25 'WebOb',
fc09a7ffb767 fill out setup.py
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
26 'PyGraphviz',
0
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
27 ],
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
28 entry_points="""
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
29 # -*- Entry points: -*-
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
30 [paste.app_factory]
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
31 main = svgsitemap.factory:factory
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
32 """,
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
33 )
7a60bacc6a22 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
34