[Distutils] questions on setuptools

Michael Hearne mhearne at usgs.gov
Wed Apr 23 00:27:03 CEST 2008


I'm creating a software package for in-house consumption, and will be  
using setuptools to create an egg that I can easily install, upgrade,  
etc.

I'm able to answer most of my own questions from trolling through the  
documentation, but I have two that I can't find the answers for:

1) If I depend on packages that are not in PyPI and are not available  
through some other simple means (svn, simple .py, etc.), can I note  
these dependencies in such a way that easy_install will complain if  
they are not present and _stop_ installation?

2) If I already have a "main" script, is it possible to have that  
installed in /usr/local/bin (assuming my install path is "/usr/ 
local")?  If so, how?  I read this section (http://peak.telecommunity.com/DevCenter/setuptools#automatic-script-creation 
) but it doesn't seem to address my issue.

Thanks,

Mike



------------------------------------------------------
Michael Hearne
mhearne at usgs.gov
(303) 273-8620
USGS National Earthquake Information Center
1711 Illinois St. Golden CO 80401
Senior Software Engineer
Synergetics, Inc.
------------------------------------------------------




More information about the Distutils-SIG mailing list