bdist_wininst and dependencies with setuptools
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. Today I was building a package that must be installed on a Windows system (I'm on Linux). I simply did: python setup.py bdist_inst and I was expecting that, when executed on the Windows machine, it would not only install my package, but also all dependencies declared in the setup file. This was not the case. I would like to avoid having to create an all in one installer using pyinstalled; is this possible? Note that dependencies are all pure Python modules available on pypi, except PyQt (that is installed using the installer provided by riverbank). Thanks Manlio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyJG1gACgkQscQJ24LbaUTcCgCfRFOCF101mhRfaWCuU+5g41Wj X2EAn2tOiYudntVi06aa9L9IdpNxp5y2 =YiSl -----END PGP SIGNATURE-----
At 07:37 PM 9/9/2010 +0200, Manlio Perillo wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi.
Today I was building a package that must be installed on a Windows system (I'm on Linux).
I simply did: python setup.py bdist_inst
and I was expecting that, when executed on the Windows machine, it would not only install my package, but also all dependencies declared in the setup file.
This was not the case.
I would like to avoid having to create an all in one installer using pyinstalled; is this possible?
No; bdist_wininst doesn't support dependencies. If you need Windows users to install dependencies, they'll have to use easy_install. (I'd say "or pip", but pip doesn't support installing pre-built binaries.)
Note that dependencies are all pure Python modules available on pypi, except PyQt (that is installed using the installer provided by riverbank).
If everything but PyQt is pure python, then you can just have them install from source using pip or easy_install. (Or, alternatively, build an executable with py2exe.)
participants (2)
-
Manlio Perillo
-
P.J. Eby