X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=setup.py;h=6e1d3d0079016582a7a65bc051b131428e730a93;hb=224e0c0e9548563c3780fc39ac878782c8cf7883;hp=db44e7ce98faf2f9c4ff05c66ba10fc340f108e5;hpb=455e3563c10a2ef3eba073f38af4dd3654a4671b;p=hooke.git diff --git a/setup.py b/setup.py index db44e7c..6e1d3d0 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,21 @@ +# Copyright (C) 2010 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 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 +# . + """Hooke: tools for analyzing force spectroscopy data. Mercurial repository: @@ -22,10 +40,10 @@ Topic :: Scientific/Engineering doclines = __doc__.split("\n") -def find_packages(): +def find_packages(root='hooke'): packages = [] prefix = '.'+os.path.sep - for dirpath,dirnames,filenames in walk('.'): + for dirpath,dirnames,filenames in walk(root): if '__init__.py' in filenames: if dirpath.startswith(prefix): dirpath = dirpath[len(prefix):]