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...
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 !!!
Ce qui peut se comprendre puisque tu utilises un OS non libre.
Is there anyone that have experienced this "free" problem and is there a solution that I did not note.
utilise un OS libre
I don't want to buy MSVC...
Pourtant tu as acheté MS-Windows !
atchoum
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...
I think that using a no-buggy and free operating system like Linux or BSD is possible ;-)
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... It seems that you want to make business without paying for a compiler :-)
If not ? let's try Linux
Thanks What's a real pleasure !
J.P.
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...
I think that using a no-buggy and free operating system like Linux or
BSD is possible ;-)
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...
It seems that you want to make business without paying for a compiler :-)
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...
I think that using a no-buggy and free operating system like Linux or BSD is possible ;-)
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... It seems that you want to make business without paying for a compiler :-)
If not ? let's try Linux
Thanks What's a real pleasure !
J.P.
Olivier Ravard
"Tibi" a écrit dans le message de news: ctqf27$1h71$
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 !!!
Ce qui peut se comprendre puisque tu utilises un OS non libre.
Is there anyone that have experienced this "free" problem and is there a solution that I did not note.
utilise un OS libre
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.
I don't want to buy MSVC...
Pourtant tu as acheté MS-Windows !
Oui. Par obligation. J'ai essayé d'acheter un ordinateur portable sans
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.
"Tibi" <tibi@libre_in_french.fr> a écrit dans le message de news:
ctqf27$1h71$1@news.imp.ch...
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 !!!
Ce qui peut se comprendre puisque tu utilises un OS non libre.
Is there anyone that have experienced this "free" problem and is there a
solution that I did not note.
utilise un OS libre
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.
I don't want to buy MSVC...
Pourtant tu as acheté MS-Windows !
Oui. Par obligation. J'ai essayé d'acheter un ordinateur portable sans
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.
"Tibi" a écrit dans le message de news: ctqf27$1h71$
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 !!!
Ce qui peut se comprendre puisque tu utilises un OS non libre.
Is there anyone that have experienced this "free" problem and is there a solution that I did not note.
utilise un OS libre
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.
I don't want to buy MSVC...
Pourtant tu as acheté MS-Windows !
Oui. Par obligation. J'ai essayé d'acheter un ordinateur portable sans
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.
Olivier Ravard
"atchoum" a écrit dans le message de news: 4200c06e$0$24723$
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...
I think that using a no-buggy and free operating system like Linux or BSD is possible ;-)
Yes, I do it, but it is not the choice of several customers...
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... It seems that you want to make business without paying for a compiler :-)
Yes. It is my company strategie to use only free software...
If not ? let's try Linux
We use it for a long time.
Thanks What's a real pleasure !
J.P.
"atchoum" <ptc1@free.fr> a écrit dans le message de news:
4200c06e$0$24723$626a14ce@news.free.fr...
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...
I think that using a no-buggy and free operating system like Linux or
BSD is possible ;-)
Yes, I do it, but it is not the choice of several customers...
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...
It seems that you want to make business without paying for a compiler :-)
Yes. It is my company strategie to use only free software...
"atchoum" a écrit dans le message de news: 4200c06e$0$24723$
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...
I think that using a no-buggy and free operating system like Linux or BSD is possible ;-)
Yes, I do it, but it is not the choice of several customers...
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... It seems that you want to make business without paying for a compiler :-)
Yes. It is my company strategie to use only free software...
If not ? let's try Linux
We use it for a long time.
Thanks What's a real pleasure !
J.P.
Bruno Desthuilliers
Bonjour à tous,
Voici copie du message que j'ai posté sur comp.lang.python. Problème philosophique sur python...
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.
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
Bonjour à tous,
Voici copie du message que j'ai posté sur comp.lang.python.
Problème philosophique sur python...
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.
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 ?
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.
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
Olivier Ravard
"Bruno Desthuilliers" a écrit dans le message de news: 4200d4c4$0$535$
Bonjour à tous,
Voici copie du message que j'ai posté sur comp.lang.python. Problème philosophique sur python...
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.
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 ?
C'est ce que je suis dis dès le départ. Et lors de la tentative de la compilation de python avec MinGW, pas de succès. Après renseignements pris, il est fortement déconseillé de compiler python sous win avec MinGW et je cite : "c'est réellement un sport. Vous pouvez le faire pour vous amuser mais seulement pour vous amuser. Ne l'utiliser pas en production". Du coup, j'ai abandonné.
Mes deux centimes Bruno
"Bruno Desthuilliers" <bdesth.quelquechose@free.quelquepart.fr> a écrit dans
le message de news: 4200d4c4$0$535$636a15ce@news.free.fr...
Bonjour à tous,
Voici copie du message que j'ai posté sur comp.lang.python.
Problème philosophique sur python...
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.
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 ?
C'est ce que je suis dis dès le départ. Et lors de la tentative de la
compilation
de python avec MinGW, pas de succès. Après renseignements pris, il est
fortement
déconseillé de compiler python sous win avec MinGW et je cite : "c'est
réellement un
sport. Vous pouvez le faire pour vous amuser mais seulement pour vous
amuser. Ne
l'utiliser pas en production". Du coup, j'ai abandonné.
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.
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 ?
C'est ce que je suis dis dès le départ. Et lors de la tentative de la compilation de python avec MinGW, pas de succès. Après renseignements pris, il est fortement déconseillé de compiler python sous win avec MinGW et je cite : "c'est réellement un sport. Vous pouvez le faire pour vous amuser mais seulement pour vous amuser. Ne l'utiliser pas en production". Du coup, j'ai abandonné.
Mes deux centimes Bruno
Bruno Desthuilliers
"Bruno Desthuilliers" a écrit dans le message de news: 4200d4c4$0$535$
Bonjour à tous,
Voici copie du message que j'ai posté sur comp.lang.python. Problème philosophique sur python...
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.
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 ?
C'est ce que je suis dis dès le départ.
Je voulais dire : pourquoi ne compile-tu pas toi même Python avec Mingw?
Et lors de la tentative de la compilation de python avec MinGW, pas de succès. Après renseignements pris, il est fortement déconseillé de compiler python sous win avec MinGW et je cite : "c'est réellement un sport. Vous pouvez le faire pour vous amuser mais seulement pour vous amuser. Ne l'utiliser pas en production". Du coup, j'ai abandonné.
Il semble que d'autres aient tenté la chose, avec plus ou moins de succès: http://sebsauvage.net/python/mingw.html http://uucode.com/texts/python-mingw/python-mingw.html http://www.mingw.org/MinGWiki/index.php/Python%20extensions
HTH Bruno
"Bruno Desthuilliers" <bdesth.quelquechose@free.quelquepart.fr> a écrit dans
le message de news: 4200d4c4$0$535$636a15ce@news.free.fr...
Bonjour à tous,
Voici copie du message que j'ai posté sur comp.lang.python.
Problème philosophique sur python...
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.
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 ?
C'est ce que je suis dis dès le départ.
Je voulais dire : pourquoi ne compile-tu pas toi même Python avec Mingw?
Et lors de la tentative de la
compilation
de python avec MinGW, pas de succès. Après renseignements pris, il est
fortement
déconseillé de compiler python sous win avec MinGW et je cite : "c'est
réellement un
sport. Vous pouvez le faire pour vous amuser mais seulement pour vous
amuser. Ne
l'utiliser pas en production". Du coup, j'ai abandonné.
Il semble que d'autres aient tenté la chose, avec plus ou moins de succès:
http://sebsauvage.net/python/mingw.html
http://uucode.com/texts/python-mingw/python-mingw.html
http://www.mingw.org/MinGWiki/index.php/Python%20extensions
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.
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 ?
C'est ce que je suis dis dès le départ.
Je voulais dire : pourquoi ne compile-tu pas toi même Python avec Mingw?
Et lors de la tentative de la compilation de python avec MinGW, pas de succès. Après renseignements pris, il est fortement déconseillé de compiler python sous win avec MinGW et je cite : "c'est réellement un sport. Vous pouvez le faire pour vous amuser mais seulement pour vous amuser. Ne l'utiliser pas en production". Du coup, j'ai abandonné.
Il semble que d'autres aient tenté la chose, avec plus ou moins de succès: http://sebsauvage.net/python/mingw.html http://uucode.com/texts/python-mingw/python-mingw.html http://www.mingw.org/MinGWiki/index.php/Python%20extensions
HTH Bruno
Olivier Ravard
"Bruno Desthuilliers" a écrit dans le message de news: 4200eac6$0$518$
"Bruno Desthuilliers" a écrit dans
le message de news: 4200d4c4$0$535$
Bonjour à tous,
Voici copie du message que j'ai posté sur comp.lang.python. Problème philosophique sur python...
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.
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 ?
C'est ce que je suis dis dès le départ.
Je voulais dire : pourquoi ne compile-tu pas toi même Python avec Mingw?
Oui, j'ai bien essayé, mais sans succès.
Et lors de la tentative de la compilation de python avec MinGW, pas de succès. Après renseignements pris, il est fortement déconseillé de compiler python sous win avec MinGW et je cite : "c'est réellement un sport. Vous pouvez le faire pour vous amuser mais seulement pour vous amuser. Ne l'utiliser pas en production". Du coup, j'ai abandonné.
Il semble que d'autres aient tenté la chose, avec plus ou moins de succès: http://sebsauvage.net/python/mingw.html
Ce lien est relatif au développement de ses propres modules en C++. De ce côté là j'ai résolu le pb puisque j'utilise BOOST et MinGW. C'est super facile et efficace. Le problème réside toutefois pour compiler des modules non développés par moi...
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.
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 ?
C'est ce que je suis dis dès le départ.
Je voulais dire : pourquoi ne compile-tu pas toi même Python avec Mingw?
Oui, j'ai bien essayé, mais sans succès.
Et lors de la tentative de la
compilation
de python avec MinGW, pas de succès. Après renseignements pris, il est
fortement
déconseillé de compiler python sous win avec MinGW et je cite : "c'est
réellement un
sport. Vous pouvez le faire pour vous amuser mais seulement pour vous
amuser. Ne
l'utiliser pas en production". Du coup, j'ai abandonné.
Il semble que d'autres aient tenté la chose, avec plus ou moins de succès:
http://sebsauvage.net/python/mingw.html
Ce lien est relatif au développement de ses propres modules en C++. De ce
côté là j'ai résolu le pb puisque j'utilise BOOST et MinGW. C'est super
facile
et efficace.
Le problème réside toutefois pour compiler des modules non développés par
moi...
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.
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 ?
C'est ce que je suis dis dès le départ.
Je voulais dire : pourquoi ne compile-tu pas toi même Python avec Mingw?
Oui, j'ai bien essayé, mais sans succès.
Et lors de la tentative de la compilation de python avec MinGW, pas de succès. Après renseignements pris, il est fortement déconseillé de compiler python sous win avec MinGW et je cite : "c'est réellement un sport. Vous pouvez le faire pour vous amuser mais seulement pour vous amuser. Ne l'utiliser pas en production". Du coup, j'ai abandonné.
Il semble que d'autres aient tenté la chose, avec plus ou moins de succès: http://sebsauvage.net/python/mingw.html
Ce lien est relatif au développement de ses propres modules en C++. De ce côté là j'ai résolu le pb puisque j'utilise BOOST et MinGW. C'est super facile et efficace. Le problème réside toutefois pour compiler des modules non développés par moi...
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.
Personnellement,, j'utilise MinGw pour compiler les modules de Soya pour Python 2.3 ou 2.4, sans aucun problème particulier ou dysfonctionnement lié à l'utilisation de ce compilateur.
python setup.py build -cmingw32
permet la compilation de ton module. Si tu veux créer un module distribuable :
python setup.py build -cmingw32 bdist_wininst
Thomas http://thomas.paviot.free.fr/soya
Bonjour à tous,
Voici copie du message que j'ai posté sur comp.lang.python.
Problème philosophique sur python...
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.
Personnellement,, j'utilise MinGw pour compiler les modules de Soya pour
Python 2.3 ou 2.4, sans aucun problème particulier ou dysfonctionnement
lié à l'utilisation de ce compilateur.
python setup.py build -cmingw32
permet la compilation de ton module. Si tu veux créer un module
distribuable :
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.
Personnellement,, j'utilise MinGw pour compiler les modules de Soya pour Python 2.3 ou 2.4, sans aucun problème particulier ou dysfonctionnement lié à l'utilisation de ce compilateur.
python setup.py build -cmingw32
permet la compilation de ton module. Si tu veux créer un module distribuable :