GNT sans publicité, site mobile, fonctionnalitées exclusives...

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.
Lire les 10 réponses

Vidéos High-Tech et Jeu Vidéo
Téléchargements
Vos réponses Page 1 / 2
Gagnez chaque mois un abonnement Premium avec GNT : Inscrivez-vous !
Trier par : date / pertinence
Tibi
Le #9477
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
Le #9476
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
Le #9474
"Tibi" 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
Le #9473
"atchoum" 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
Le #8941
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.




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

Publicité
Suivre les réponses
Poster une réponse
Anonyme