Minor fixes to build process.

* Fix name error when running setup.py from within main package.

* Change `make clean` so that it removes hash files.

* Remove unused import.
This commit is contained in:
Tony S Yu
2012-02-08 22:38:46 -05:00
parent d4a23dafd2
commit 0deba46d26
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ all:
git update-index --assume-unchanged skimage/version.py
clean:
find . -name "*.so" -o -name "*.pyc" | xargs rm -f
find . -name "*.so" -o -name "*.pyc" -o -name "*.pyx.md5" | xargs rm -f
test:
nosetests skimage
+2 -2
View File
@@ -22,7 +22,7 @@ def configuration(parent_package='', top_path=None):
config.add_data_dir(dirname)
# Add test directories
from os.path import isdir, dirname, join, abspath
from os.path import isdir, dirname, join
rel_isdir = lambda d: isdir(join(curpath, d))
curpath = join(dirname(__file__), './')
@@ -35,6 +35,6 @@ def configuration(parent_package='', top_path=None):
if __name__ == "__main__":
from numpy.distutils.core import setup
config = Configuration(top_path='').todict()
config = configuration(top_path='').todict()
setup(**config)