Oops, forgot the ['channel'].
[pypiezo.git] / setup.py
1 # Copyright (C) 2009-2011 W. Trevor King <wking@drexel.edu>
2 #
3 # This file is part of pypiezo.
4 #
5 # pypiezo is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the
7 # Free Software Foundation, either version 3 of the License, or (at your
8 # option) any later version.
9 #
10 # pypiezo is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with pypiezo.  If not, see <http://www.gnu.org/licenses/>.
17
18 "Tools for controlling piezoelectric actuators."
19
20 from distutils.core import setup
21 import os.path
22
23 from pypiezo import __version__
24
25
26 package_name = 'pypiezo'
27 base_url = 'http://physics.drexel.edu/~wking'
28 _this_dir = os.path.dirname(__file__)
29
30 setup(name=package_name,
31       version=__version__,
32       maintainer='W. Trevor King',
33       maintainer_email='wking@drexel.edu',
34       url='{}/unfolding-disasters/posts/{}/'.format(base_url, package_name),
35       download_url='{}/code/python/%s-%s.tar.gz'.format(
36         base_url, package_name, __version__),
37       license='GNU General Public License (GPL)',
38       platforms=['all'],
39       description=__doc__,
40       long_description=open(os.path.join(_this_dir, 'README'), 'r').read(),
41       classifiers=[
42         'Development Status :: 2 - Pre-Alpha',
43         'Intended Audience :: Developers',
44         'Intended Audience :: Science/Research',
45         'Operating System :: POSIX',
46         'Operating System :: Unix',
47         'License :: OSI Approved :: GNU General Public License (GPL)',
48         'Programming Language :: Python',
49         'Topic :: Scientific/Engineering',
50         'Topic :: Software Development :: Libraries :: Python Modules',
51         ],
52       packages=[package_name],
53       provides=['{} ({})'.format(package_name, __version__)],
54       requires=['pycomedi (>= 0.3)'],
55       )