Initialized a Bugs-Everywhere bugtracking directory.
[calibcant.git] / setup.py
1 """CalibCant: tools for thermally calibrating AFM cantilevers
2
3 Requires
4   * TODO
5
6 Git repository:
7 http://www.physics.drexel.edu/~wking/code/git/calibcant.git
8 """
9
10 classifiers = """\
11 Development Status :: 2 - Pre-Alpha
12 Intended Audience :: Developers
13 Intended Audience :: Science/Research
14 Operating System :: POSIX
15 Operating System :: Unix
16 License :: OSI Approved :: GNU General Public License (GPL)
17 Programming Language :: Python
18 Topic :: Scientific/Engineering
19 Topic :: Software Development :: Libraries :: Python Modules
20 """
21
22 # http://peak.telecommunity.com/DevCenter/setuptools#using-setuptools-without-bundling-it
23 import ez_setup
24 ez_setup.use_setuptools()
25
26 from setuptools import setup, find_packages
27
28 # patch distutils if it can't cope with the "classifiers" or
29 # "download_url" keywords
30 from sys import version
31 if version < '2.2.3':
32     from distutils.dist import DistributionMetadata
33     DistributionMetadata.classifiers = None
34     DistributionMetadata.download_url = None
35
36 import calibcant
37 VERSION = calibcant.VERSION
38
39 doclines = __doc__.split("\n")
40
41 setup(name="calibcant",
42       version=VERSION,
43       maintainer="W. Trevor King",
44       maintainer_email="wking@drexel.edu",
45       url = "http://www.physics.drexel.edu/~wking/code/python/",
46       download_url = "http://www.physics.drexel.edu/~wking/code/python/calibcant-%s.tar.gz" % VERSION,
47       license = "GNU General Public License (GPL)",
48       platforms = ["all"],
49       description = doclines[0],
50       long_description = "\n".join(doclines[2:]),
51       classifiers = filter(None, classifiers.split("\n")),
52       py_modules = ['ez_setup'],
53       packages = find_packages(),
54       )
55
56 # use packages to include subdirectory packages
57 # use py_modules to include single-module packages
58 # use ext_modules to include extension modules
59 # see
60 #   http://www.python.org/doc/2.5.2/dist/listing-modules.html
61 #   http://www.python.org/doc/2.5.2/dist/describing-extensions.html