On Tue, Dec 14, 2010 at 7:22 PM, P.J. Eby <span dir="ltr"><<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">At 06:30 PM 12/14/2010 +0100, Arve Knudsen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Argh :( Can you describe some other way of customizing the install command that works better with setuptools?<br>
</blockquote>
<br></div>
That depends on what you're trying to do; but probably it will involve subclassing the install command rather than simply invoking it.<br>
<br>
What are you trying to customize, anyway? There really aren't many user-serviceable parts inside; you'd probably be better off customizing subcommands (like install_lib or some of the build_* commands).<br></blockquote>
<div><br></div><div>I don't have the project in front of me right now, but what I needed to do was to install something non-Python. That is, if the package gets installed under <prefix>/lib, the extra data gets installed under <prefix>/data. The data is part of the project, but not part of the Python package(s).</div>
<div><br></div><div>Arve </div></div>