missed showing the step where I install the egg.. but you get the point. :)<div><br><br><div class="gmail_quote">On Wed, Feb 13, 2013 at 4:39 PM, Shawn <span dir="ltr"><<a href="mailto:taaj.shawn@gmail.com" target="_blank">taaj.shawn@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm having some trouble building an egg..<div><br></div><div><div># cat setup.py </div><div>#!/usr/bin/env python</div>
<div><br></div><div>import os</div><div>from glob import glob</div><div><b>from setuptools import setup </b></div>
<div><br></div><div><br></div><div><div># cat setup.cfg </div><div>[install]</div><div>prefix = /raid/mycoolnewsoftware</div><div>install-lib = %(prefix)s/webapp</div><div><br></div><div>then I run </div><div><br>#python2.6 setup.py bdist_egg</div>
<div>#locate webapp</div><div>/usr/lib/python2.6/site-packages/mycoolnewsoftware.egg/webapp/</div><div><br></div><div><div>This builds the egg successfully but the prefix I stated in setup.cfg is not being used?</div></div>
<div><br></div><div>Their has to be a simple solution to this, all I want is to change the install prefix but I cant seem to find the switch (if their is one) in the docs.. I am the first to admit i don't know diddly squat about python packaging.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div><br></div>-- <br><b><i>- Shawn Taaj</i></b><br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><b><i>- Shawn Taaj</i></b><br>
</div>