1 |
I ran into some trouble with net-misc/flexget, and it is probably an |
2 |
issue for other paver-based python packages as well. |
3 |
|
4 |
Basically, if the build options are passed after the install options, |
5 |
they are ignored and the default build directory (build/lib) is used |
6 |
instead. This causes some interesting failures when building in parallel. |
7 |
|
8 |
An easy workaround is to pass the build command and options before the |
9 |
install command and options. This requires a small modification to |
10 |
esetup.py. See attached patch. |
11 |
|
12 |
This also makes the esetup.py function more flexible in general since it |
13 |
allows options to be passed both before and after the build command. |
14 |
|
15 |
The patch also removes a duplicate 'build' command from |
16 |
distutils-r1_python_compile, which may also cause problems for paver. |
17 |
|
18 |
I do plan to look into the paver issue further, but I would like to make |
19 |
this adjustment anyway. |