1 |
Hi, |
2 |
|
3 |
I'm trying to make an ebuild that installes this here into my |
4 |
sage-on-gentoo installation: |
5 |
https://bitbucket.org/matroid/sage_matroids |
6 |
|
7 |
Their setup.py does the following: |
8 |
|
9 |
if not os.environ.has_key('SAGE_ROOT'): |
10 |
print " ERROR: The environment variable SAGE_ROOT must be defined." |
11 |
sys.exit(1) |
12 |
else: |
13 |
SAGE_ROOT = os.environ['SAGE_ROOT'] |
14 |
SAGE_LOCAL = SAGE_ROOT + '/local' |
15 |
SAGE_DEVEL = SAGE_ROOT + '/devel' |
16 |
SAGE_INC = SAGE_LOCAL + '/include/' |
17 |
|
18 |
and I wonder if this is wrong? Is SAGE_LOCAL="/usr" on Gentoo? In |
19 |
particular, where should python packages go that were installed by such |
20 |
an ebuild? Maybe into /usr/lib/python/site-packages ? |
21 |
|
22 |
Cheers, |
23 |
Thomas |
24 |
|
25 |
|
26 |
-- |
27 |
Thomas Kahle |
28 |
http://dev.gentoo.org/~tomka/ |