Temporary fix to hooke/driver/wtk.py now that data_logger is deprecated.
[hooke.git] / setup.py
index 47d6a33f445e082e45fce508bf5ecb92d2c407c7..2c633bc103d3fbc3f55122b6fdf478fbb80598e3 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2010-2011 W. Trevor King <wking@drexel.edu>
 #
 # This file is part of Hooke.
 #
 # License along with Hooke.  If not, see
 # <http://www.gnu.org/licenses/>.
 
-"""Hooke: tools for analyzing force spectroscopy data.
-
-Mercurial repository:
-http://www.physics.drexel.edu/~wking/code/hg/hooke/
-"""
+"Tools for analyzing force spectroscopy data."
 
 from distutils.core import setup
 from os import walk
@@ -52,18 +48,20 @@ def find_packages(root='hooke'):
 
 packages = find_packages()
 
+_this_dir = os.path.dirname(__file__)
+
 setup(name="Hooke",
       version=version(),
       maintainer="Massimo Sandal",
       maintainer_email="hookesoftware@googlegroups.com",
       url="http://code.google.com/p/hooke/",
-      download_url="http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.gci/hooke/archive/%s.tar.gz" % version(3),
+      download_url="http://www.physics.drexel.edu/~wking/code/hg/hgweb.cgi/hooke/archive/%s.tar.gz" % version(3),
       license = "GNU Lesser General Public License (LGPL)",
       platforms = ["all"],
-      description = doclines[0],
-      long_description = "\n".join(doclines[2:]),
+      description = __doc__,
+      long_description=open(os.path.join(_this_dir, 'README'), 'r').read(),
       classifiers = filter(None, classifiers.split("\n")),
-      scripts = ['bin/hooke'],
+      scripts = ['bin/hk.py'],
       packages = packages,
       provides = packages,
       )