X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=setup.py;h=b34e81fe19063d5e3791b3dd4c139a95335ef2b2;hb=76d5792c61dfb616ddadf058890258d5b32b33be;hp=db66c08ca3fcf869d30e1f329a66f68f097d7149;hpb=4a35867cb59952d7d3433eb8568a9643a1dfd6ca;p=hooke.git diff --git a/setup.py b/setup.py index db66c08..b34e81f 100644 --- a/setup.py +++ b/setup.py @@ -1,23 +1,23 @@ -# Copyright (C) 2010 W. Trevor King +# Copyright (C) 2010-2012 W. Trevor King # # This file is part of Hooke. # -# Hooke is free software: you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# Hooke is free software: you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation, either version 3 of the License, or (at your option) any +# later version. # -# Hooke is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General -# Public License for more details. +# Hooke is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. # -# You should have received a copy of the GNU Lesser General Public -# License along with Hooke. If not, see -# . +# You should have received a copy of the GNU Lesser General Public License +# along with Hooke. If not, see . "Tools for analyzing force spectroscopy data." +import codecs from distutils.core import setup from os import walk import os.path @@ -55,12 +55,13 @@ setup(name="Hooke", 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/hgweb.cgi/hooke/archive/%s.tar.gz" % version(3), + download_url='http://git.tremily.us/?p=hooke.git;a=snapshot;h={};sf=tgz'.format(version(4)), license = "GNU Lesser General Public License (LGPL)", platforms = ["all"], description = __doc__, - long_description=open(os.path.join(_this_dir, 'README'), 'r').read(), - classifiers = filter(None, classifiers.split("\n")), + long_description=codecs.open( + os.path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(), + classifiers = list(filter(None, classifiers.split("\n"))), scripts = ['bin/hk.py'], packages = packages, provides = packages,