> > Can't we look in the registry for this? We have a working Python; > > perhaps we can just use a Windows-specific registry lookup to find > > OpenSSL? (I'm just blue-skying here; I have no clue how things work > > on Windows.) > > Not really. Python itself, when building _ssl, doesn't look for a binary > install of openssl, but instead a source directory and a working perl > interpreter so an openssl can be built suitable for linking with Python. > This source directory is just downloaded and unzipped - no registration > takes place, and any binaries that may be built are ignored (we just want > the .h and .lib files)
In that case, I think your idea of just hard-coding a path is probably the right thing to do. I'll add a note that this is how you need to do it if you are going to try "python setup.py build". Presumably the binary then built with "python setup.py bdist" will install on a Windows machine regardless of where OpenSSL is installed? Bill _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com