X-Git-Url: http://git.tremily.us/?p=hooke.git;a=blobdiff_plain;f=setup.py;h=47d6a33f445e082e45fce508bf5ecb92d2c407c7;hp=c9fa2e75a72c3f607d9e0ae516a52af0d835f222;hb=4bf0052cdbbfac3aad5c4ad7dea1ea20f4d35384;hpb=7762de28cee60f98882d72db0c2ae2c6009ac465 diff --git a/setup.py b/setup.py index c9fa2e7..47d6a33 100644 --- a/setup.py +++ b/setup.py @@ -2,15 +2,15 @@ # # 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 @@ -40,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):]