python et visual C++
Le
Olivier Ravard
Bonjour à tous,
Voici copie du message que j'ai posté sur comp.lang.python.
Problème philosophique sur python
Si quelqu'un a des remarques, je suis preneur.
O.R.
-
Hi,
When I tryed to compile a python module using distutils under windows,
and there is an error message if we do not have Microsoft Visual C++ 6
installed.
This is because python have been compiled with MSVC6 and distutils wants it
in order to compile C++ python modules.
One of the reasons why I use python is because this is a free language. But
I need
a non free compilator to compile my C++ module !!! Choosing MSVC to compile
python is a strange choice since there are other free compilators like
MinGW.
I think that using another compilator should be possible in order to compile
python
modules since I use BOOST/MinGW to develop my own modules
Diffrerent solutions appears :
- peoples who compile python for windows should use a free compilator
(MinGW or Microsoft Visual C++ Toolkit 2003 for example)
- modify distutils in order to use another compilator
Is there anyone that have experienced this "free" problem and is there a
solution
that I did not note. I don't want to buy MSVC
Thanks
O.R.
Voici copie du message que j'ai posté sur comp.lang.python.
Problème philosophique sur python
Si quelqu'un a des remarques, je suis preneur.
O.R.
-
Hi,
When I tryed to compile a python module using distutils under windows,
and there is an error message if we do not have Microsoft Visual C++ 6
installed.
This is because python have been compiled with MSVC6 and distutils wants it
in order to compile C++ python modules.
One of the reasons why I use python is because this is a free language. But
I need
a non free compilator to compile my C++ module !!! Choosing MSVC to compile
python is a strange choice since there are other free compilators like
MinGW.
I think that using another compilator should be possible in order to compile
python
modules since I use BOOST/MinGW to develop my own modules
Diffrerent solutions appears :
- peoples who compile python for windows should use a free compilator
(MinGW or Microsoft Visual C++ Toolkit 2003 for example)
- modify distutils in order to use another compilator
Is there anyone that have experienced this "free" problem and is there a
solution
that I did not note. I don't want to buy MSVC
Thanks
O.R.

Poser une question


Ce qui peut se comprendre puisque tu utilises un OS non libre.
utilise un OS libre
Pourtant tu as acheté MS-Windows !
I think that using a no-buggy and free operating system like Linux or
BSD is possible ;-)
If not ? let's try Linux
J.P.
J'utilise Linux depuis la version 0.98 du noyau. Je pense que c'est un des
meilleurs
OS et j'ai participé au déploiment de Linux dans mon Université. C'est Linux
qui m'a
ouvert les yeux sur le monde du libre et depuis je n'ai acheté aucun
logiciel...
Je suis pro-linux mais malheureusement mon appli doit également être
disponible
pour windows... C'est la choix de certain de mes clients.
windows
depuis des années sans succès. C'est là également toute la force commerciale
de MS
qui s'est mis en partenariat avec les constructeurs.
Depuis plusieurs années, j'ai donc acheté plusieurs portables avec windows,
tout ça pour
formater le disque et installer Linux...
Toutes ces remarques sont bonnes mais ça ne résoud pas mon problème, si
solution il y a.
O.R.
Yes, I do it, but it is not the choice of several customers...
Yes. It is my company strategie to use only free software...
We use it for a long time.
Le problème, PAQJS, est juste qu'il faut utiliser le même compilo pour
Python (langage et stdlib) et les modules. Donc pourquoi utiliser la
distrib binaire de Python pour Windows ? Pourquoi ne pas compiler Python
avec Mingw ? Cela pose-t-il d'autres problèmes d'intégration ou de
distribution ?
Mes deux centimes
Bruno