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