1 |
Fabian Groffen wrote: |
2 |
> On 06-01-2008 10:29:29 +1300, Alistair Bush wrote: |
3 |
> [snip prefix cooperation question] |
4 |
>> I believe (and hope) that the distutils src_install() will handle this. |
5 |
>> Basically setup.py has a --root="${D}" option |
6 |
>> |
7 |
>> as in here |
8 |
>> |
9 |
>> distutils_src_install() { |
10 |
> [snip] |
11 |
>> } |
12 |
>> |
13 |
>> Is this acceptable? |
14 |
> |
15 |
> Yes pretty much. |
16 |
> |
17 |
> The distutils.eclass has already been ported to prefix, and works as far |
18 |
> as I'm aware. That said, if it goes through the eclass, the |
19 |
> installation aspect would be fine. Thanks a lot for that! |
20 |
> |
21 |
> I see you already use /usr/bin/env python in all the python files that I |
22 |
> quickly checked, so that looks very promissing! |
23 |
> |
24 |
> About this line: |
25 |
> sys.path.insert(0, "/usr/share/javatoolkit/pym") |
26 |
> (found in buildparser, but I believe it's in more files) |
27 |
> |
28 |
> would it be possible to do it like we do it in Portage? |
29 |
> |
30 |
> sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(os.path. realpath(__file__))), "pym")) |
31 |
> |
32 |
> that would do the "magic" for prefix as well as that it makes |
33 |
> development for you a bit easier maybe. |
34 |
> |
35 |
|
36 |
How about we just remove it, my plan was to have all modules in |
37 |
site_packages, which negates this? |
38 |
-- |
39 |
gentoo-java@l.g.o mailing list |