summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-12-10 00:35:20 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-12-10 00:35:20 (GMT)
commita7ce71b5e9c62ad8099858832101590053afcaca (patch)
treee67503099be6020d3cdec169bf8c1489f23ba2d3 /Lib/distutils/command/install.py
parent885fe063530334dcd21c4ba10f4ae5de75c11bd6 (diff)
downloadcpython-a7ce71b5e9c62ad8099858832101590053afcaca.zip
cpython-a7ce71b5e9c62ad8099858832101590053afcaca.tar.gz
cpython-a7ce71b5e9c62ad8099858832101590053afcaca.tar.bz2
[Jython patch #1578658] Make distutils work for Jython, at least for
pure-Python distributions. Patch by Supreet Sethi, slightly modified by adding the change to sysconfig.py.
Diffstat (limited to 'Lib/distutils/command/install.py')
-rw-r--r--Lib/distutils/command/install.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 2f8cc33..363a939 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -55,7 +55,14 @@ INSTALL_SCHEMES = {
'headers': '$base/Include/$dist_name',
'scripts': '$base/Scripts',
'data' : '$base',
- }
+ },
+ 'java': {
+ 'purelib': '$base/Lib',
+ 'platlib': '$base/Lib',
+ 'headers': '$base/Include/$dist_name',
+ 'scripts': '$base/Scripts',
+ 'data' : '$base',
+ },
}
# The keys to an installation scheme; if any new types of files are to be