1 # Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
3 # This file is part of Hooke.
5 # Hooke is free software: you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation, either
8 # version 3 of the License, or (at your option) any later version.
10 # Hooke is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Lesser General 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 """Hooke: tools for analyzing force spectroscopy data.
22 http://www.physics.drexel.edu/~wking/code/hg/hooke/
25 from distutils.core import setup
29 from hooke import version
33 Development Status :: 3 - Alpha
34 Intended Audience :: Science/Research
35 Operating System :: OS Independent
36 License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
37 Programming Language :: Python
38 Topic :: Scientific/Engineering
41 doclines = __doc__.split("\n")
45 prefix = '.'+os.path.sep
46 for dirpath,dirnames,filenames in walk('.'):
47 if '__init__.py' in filenames:
48 if dirpath.startswith(prefix):
49 dirpath = dirpath[len(prefix):]
50 packages.append(dirpath.replace(os.path.sep, '.'))
53 packages = find_packages()
57 maintainer="Massimo Sandal",
58 maintainer_email="hookesoftware@googlegroups.com",
59 url="http://code.google.com/p/hooke/",
60 download_url="http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.gci/hooke/archive/%s.tar.gz" % version(3),
61 license = "GNU Lesser General Public License (LGPL)",
63 description = doclines[0],
64 long_description = "\n".join(doclines[2:]),
65 classifiers = filter(None, classifiers.split("\n")),
66 scripts = ['bin/hooke'],