Skip to content

Commit

Permalink
FIX: Py3k compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Pedregosa authored and ogrisel committed Nov 8, 2011
1 parent f6c0c46 commit 09a602a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def configuration(parent_package='', top_path=None):
shutil.rmtree(local_path)
print("Copying source tree into build/py3k for 2to3 transformation"
"...")
shutil.copytree(os.path.join(old_path, 'scikits'),
os.path.join(local_path, 'scikits'))
shutil.copytree(os.path.join(old_path, 'sklearn'),
os.path.join(local_path, 'sklearn'))
import lib2to3.main
Expand Down Expand Up @@ -84,7 +86,7 @@ def configuration(parent_package='', top_path=None):
version=VERSION,
download_url=DOWNLOAD_URL,
long_description=LONG_DESCRIPTION,
zip_safe=False, # the package can run out of an .egg file
zip_safe=False, # the package can run out of an .egg file
classifiers=[
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
Expand Down

0 comments on commit 09a602a

Please sign in to comment.