[Jython-checkins] jython: Add java_user scheme to support user directory installs
jim.baker
jython-checkins at python.org
Mon Mar 2 02:11:53 CET 2015
https://hg.python.org/jython/rev/c32815d44800
changeset: 7599:c32815d44800
user: Jim Baker <jim.baker at rackspace.com>
date: Sun Mar 01 18:11:52 2015 -0700
summary:
Add java_user scheme to support user directory installs
Fixes http://bugs.jython.org/issue2189
files:
Lib/distutils/command/install.py | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -89,7 +89,14 @@
'headers': '$base/Include/$dist_name',
'scripts': '$base/bin',
'data' : '$base',
- }
+ },
+ 'java_user': {
+ 'purelib': '$usersite',
+ 'platlib': '$usersite',
+ 'headers': '$userbase/include/python$py_version_short/$dist_name',
+ 'scripts': '$userbase/bin',
+ 'data' : '$userbase',
+ },
}
# The keys to an installation scheme; if any new types of files are to be
--
Repository URL: https://hg.python.org/jython
More information about the Jython-checkins
mailing list