author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Thu, 13 Oct 2016 09:15:47 -0700 | |
changeset 7219 | ed371e14667e |
permissions | -rw-r--r-- |
7219
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
1 |
Adjust path to accerciser's modules to look in vendor-packages instead |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
2 |
of in site-packages, to match where we install on Solaris. |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
3 |
|
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
4 |
Not suitable for upstream as-is, would need modification to follow |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
5 |
$(pkgpythondir) from configure instead. |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
6 |
|
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
7 |
--- accerciser-3.14.0/src/accerciser.in 2014-08-18 15:03:29.000000000 -0700 |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
8 |
+++ accerciser-3.14.0/src/accerciser.in 2016-08-30 22:54:41.210135315 -0700 |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
9 |
@@ -36,7 +36,7 @@ |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
10 |
# use __file__ and for now hope that lib is relative to bin. |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
11 |
sys.prefix = '@prefix@' |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
12 |
libs = os.path.join(sys.prefix, 'lib', |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
13 |
- 'python@PYTHON_VERSION@', 'site-packages') |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
14 |
+ 'python@PYTHON_VERSION@', 'vendor-packages') |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
15 |
# point to the proper site-packages path |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
16 |
sys.path.insert(1, libs) |
ed371e14667e
23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
17 |