When installing my paver project on gentoo the command 'python setup.py build -b dir' is used to build the code. I'm using the generated setup.py and minilib. Paver does not recognize -b and the build fails. Can this value be parsed and passed on to setuptools?
n/m, my bad.
May I ask what was the problem?
Well, I'm not quite sure yet whether the problem is really solved in that I'm not sure if the -b and it's value are passed to setuptools yet. What I did notice though is that I had defined a 'build' task in my pavement.py because I needed some additional @needs around it (including the setuptools.command.build_py, to get the actual job done). What I was missing was a @consume_args. Adding that allowed the build to happen without complaining about -b not being a valid argument, but I'm not sure if it is being honored by setuptools.
Gentoo uses this option to support parallel installs of packages in multiple versions of python (2.7 and 3.3, for example).
Yes, there are some hairy edges arount options.
What you really might need si @share_with decorator...?
Thanks, I will look into that decorator. I've reopened the issue, since you've assigned it a milestone.
Update: I found that setuptools.command.build_py was not liking the -b argument, and my addition of consume_args had no affect. But, changing my @needs to setuptools.command.build instead accepts -b and the option works as expected. So, unless build_by is supposed to accept a -b argument than this bug can be closed, it is for me. Thanks.
Thanks for the research!