# HG changeset patch # User ymh # Date 1354619946 -3600 # Node ID 43dab2ef6f1aaca102b6af14f9ff274459295f0f # Parent a65807bd3d0495b8a9b1f38c9fa42ae2c3cfacea correct setup diff -r a65807bd3d04 -r 43dab2ef6f1a src/setup.py --- a/src/setup.py Tue Dec 04 12:10:16 2012 +0100 +++ b/src/setup.py Tue Dec 04 12:19:06 2012 +0100 @@ -4,6 +4,7 @@ from distutils.command.install import INSTALL_SCHEMES import sys +MODULE = 'hashcut' class osx_install_data(install_data): # On MacOS, the platform-specific lib dir is /System/Library/Framework/Python/.../ @@ -43,7 +44,7 @@ root_dir = os.path.dirname(__file__) if root_dir != '': os.chdir(root_dir) - source_dir = 'ldt' + source_dir = MODULE version_variables = {} try: @@ -93,7 +94,7 @@ setup( script_name = script_name, script_args = script_args, - name='hashcut', + name=MODULE, version=version, author='IRI', author_email='contact@iri.centrepompidou.fr',