1 # Copyright (C) 2010-2012 W. Trevor King <wking@drexel.edu>
3 # This file is part of Hooke.
5 # Hooke is free software: you can redistribute it and/or modify it under the
6 # terms of the GNU Lesser General Public License as published by the Free
7 # Software Foundation, either version 3 of the License, or (at your option) any
10 # Hooke is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 # A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with Hooke. If not, see <http://www.gnu.org/licenses/>.
18 "Tools for analyzing force spectroscopy data."
20 from distutils.core import setup
24 from hooke import version
28 Development Status :: 3 - Alpha
29 Intended Audience :: Science/Research
30 Operating System :: OS Independent
31 License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
32 Programming Language :: Python
33 Topic :: Scientific/Engineering
36 doclines = __doc__.split("\n")
38 def find_packages(root='hooke'):
40 prefix = '.'+os.path.sep
41 for dirpath,dirnames,filenames in walk(root):
42 if '__init__.py' in filenames:
43 if dirpath.startswith(prefix):
44 dirpath = dirpath[len(prefix):]
45 packages.append(dirpath.replace(os.path.sep, '.'))
48 packages = find_packages()
50 _this_dir = os.path.dirname(__file__)
54 maintainer="Massimo Sandal",
55 maintainer_email="hookesoftware@googlegroups.com",
56 url="http://code.google.com/p/hooke/",
57 download_url="http://www.physics.drexel.edu/~wking/code/hg/hgweb.cgi/hooke/archive/%s.tar.gz" % version(3),
58 license = "GNU Lesser General Public License (LGPL)",
60 description = __doc__,
61 long_description=open(os.path.join(_this_dir, 'README'), 'r').read(),
62 classifiers = filter(None, classifiers.split("\n")),
63 scripts = ['bin/hk.py'],