Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 429a6bc

Browse files
author
Fabian Pedregosa
committed
FIX: Py3k compatibility.
Fixes scikit-learn#395
1 parent 59006f2 commit 429a6bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ def configuration(parent_package='', top_path=None):
5555
shutil.rmtree(local_path)
5656
print("Copying source tree into build/py3k for 2to3 transformation"
5757
"...")
58+
shutil.copytree(os.path.join(old_path, 'scikits'),
59+
os.path.join(local_path, 'scikits'))
5860
shutil.copytree(os.path.join(old_path, 'sklearn'),
5961
os.path.join(local_path, 'sklearn'))
6062
import lib2to3.main
@@ -84,7 +86,7 @@ def configuration(parent_package='', top_path=None):
8486
version=VERSION,
8587
download_url=DOWNLOAD_URL,
8688
long_description=LONG_DESCRIPTION,
87-
zip_safe=False, # the package can run out of an .egg file
89+
zip_safe=False, # the package can run out of an .egg file
8890
classifiers=[
8991
'Intended Audience :: Science/Research',
9092
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)