Also catch RuntimeError when importing pyplot in pid_response.py.
[pypid.git] / setup.py
1 """A modular PID control library.
2 """
3
4 from distutils.core import setup
5 import os.path
6
7 from pypid import __version__
8
9
10 _this_dir = os.path.dirname(__file__)
11 base_url = 'http://physics.drexel.edu/~wking'
12
13 setup(name='pypid',
14       version=__version__,
15       maintainer='W. Trevor King',
16       maintainer_email='wking@drexel.edu',
17       url = '{}/unfolding-disasters/posts/pypid'.format(base_url),
18       download_url = '{}/code/python/pypid-{}.tar.gz'.format(
19         base_url, __version__),
20       license = 'GNU General Public License (GPL)',
21       platforms = ['all'],
22       description = __doc__,
23       long_description = open(os.path.join(_this_dir, 'README'), 'r').read(),
24       packages=['pypid', 'pypid.backend'],
25       classifiers = [
26         'Development Status :: 2 - Pre-Alpha',
27         'Intended Audience :: Developers',
28         'Intended Audience :: Science/Research',
29         'Operating System :: OS Independent',
30         'License :: OSI Approved :: GNU General Public License (GPL)',
31         'Programming Language :: Python',
32         'Topic :: Scientific/Engineering',
33         'Topic :: Software Development :: Libraries :: Python Modules',
34         ],
35       )