[ale] python question

Shawn taaj.shawn at gmail.com
Wed Feb 13 16:41:06 EST 2013


missed showing the step where I install the egg.. but you get the point. :)


On Wed, Feb 13, 2013 at 4:39 PM, Shawn <taaj.shawn at gmail.com> wrote:

> I'm having some trouble building an egg..
>
> # cat setup.py
> #!/usr/bin/env python
>
> import os
> from glob import glob
> *from setuptools import setup *
>
>
> # cat setup.cfg
> [install]
> prefix = /raid/mycoolnewsoftware
> install-lib = %(prefix)s/webapp
>
> then I run
>
> #python2.6 setup.py bdist_egg
> #locate webapp
> /usr/lib/python2.6/site-packages/mycoolnewsoftware.egg/webapp/
>
> This builds the egg successfully but the prefix I stated in setup.cfg is
> not being used?
>
> 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.
>
>
> --
> *- Shawn Taaj*
>



-- 
*- Shawn Taaj*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130213/27884119/attachment.html>


More information about the Ale mailing list