[ale] python question

Shawn taaj.shawn at gmail.com
Wed Feb 13 16:39:56 EST 2013


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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130213/78dcc4e3/attachment.html>


More information about the Ale mailing list