[Tutor] python-ldap installation

W W srilyk at gmail.com
Sat Aug 16 20:37:55 CEST 2008


On Sat, Aug 16, 2008 at 1:15 PM, John DeStefano
<john.destefano at gmail.com>wrote:
>
> Ultimately, I'd like to automate an installation method as part of a
> buildout environment script that could work on multiple platforms, but
> I'm not sure that's going to be possible: Windows doesn't use apt-get,
> OS X doesn't use DLL files, etc.  I also found this post [2], which
> probably works for systems that use apt-get, but not for others, and
> seems fairly complicated as well.
>
> Thanks in advance for your ideas and pointers on whether this is
> possible, or the best way to do it on different platforms.


For the most part I doubt I'd be much help, but if you're looking for a way
to work cross-platform, you have a few options.

1) Package all the installers together, and use your script to determine the
system, either by user input, or by looking for a file that should exist on
the system. It might be safer to ask for user confirmation in that case,
though.

2) Do the same thing, but instead of packaging all the files, retrieve them
from the 'net.

HTH,
Wayne

-- 
To be considered stupid and to be told so is more painful than being called
gluttonous, mendacious, violent, lascivious, lazy, cowardly: every weakness,
every vice, has found its defenders, its rhetoric, its ennoblement and
exaltation, but stupidity hasn't. - Primo Levi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080816/8c2c28e0/attachment.htm>


More information about the Tutor mailing list