[C++-sig] Boost.Python Deployment Dependencies

Niall Douglas s_sourceforge at nedprod.com
Thu Nov 27 20:09:36 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27 Nov 2003 at 12:14, Paul Grenyer wrote:

> I then tried installing the python interpreter and libraries as well
> as our new application, this worked. I then renamed the python23
> directory, expecting our application to now fail. It didn’t. I am now
> somewhat confused about what boost.python actually depends on????

It probably found the installation via $PYTHON_LIB or something.

> I don’t want to have to install python on every machine where we want
> to install our application, I want to be able to include the necessary
> boost.python dependencies in our install script.

You have two choices - python needs some of its core libraries to 
work properly so these need supplying. Either you work out what's 
minimally needed and supply them or (much easier) you just install 
python on each machine.

I personally would go for the latter because maintainence is much 
easier. When it comes to time for upgrades, you just upgrade.

If you go for the former, there's a project on sourceforge somewhere 
which lets you package your python script as a Win32 executable which 
is totally self-contained. BitTorrent uses this. Find that and it'll 
give you a good head-start.

Cheers,
Niall





-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2

iQA/AwUBP8ZL8cEcvDLFGKbPEQKeUQCfZ5hvHmlrAryXcQGBB45ngrkmj6IAoOQJ
SivMfDD2QTOA18+bywT9pQHU
=uu20
-----END PGP SIGNATURE-----




More information about the Cplusplus-sig mailing list