473,608 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

My only complaint about Python

I love the language. I love the community. My only complaint is that
Python for Windows is built with Visual Studio.

It is too difficult to build python, or a module, from source. This is
what open source is all about, isnt it? I even have a copy of visual
studio, and I still cant build modules from source, because my academic
copy is version 7. As a scientist funded by the NSF, I feel compelled to
do all my work using free software (I feel compelled to use free
software, regardless). And I feel compelled to contribute to the
scientific capabilities of my favorite programming language. But this
compiler issue is a big (and seemingly unnecessary) impediment. Will the
BDFL ever split with Visual Studio?
Jul 18 '05 #1
33 2948
Why not use ActiveState pythong then?

-Josh

On Thu, 19 Aug 2004 11:42:50 -0400, Darren Dale <dd**@cornell.e du> wrote:
I love the language. I love the community. My only complaint is that
Python for Windows is built with Visual Studio.

It is too difficult to build python, or a module, from source. This is
what open source is all about, isnt it? I even have a copy of visual
studio, and I still cant build modules from source, because my academic
copy is version 7. As a scientist funded by the NSF, I feel compelled to
do all my work using free software (I feel compelled to use free
software, regardless). And I feel compelled to contribute to the
scientific capabilities of my favorite programming language. But this
compiler issue is a big (and seemingly unnecessary) impediment. Will the
BDFL ever split with Visual Studio?
--
http://mail.python.org/mailman/listinfo/python-list

Jul 18 '05 #2
Darren Dale <dd**@cornell.e du> writes:
I love the language. I love the community. My only complaint is that
Python for Windows is built with Visual Studio.

It is too difficult to build python, or a module, from source. This is
what open source is all about, isnt it? I even have a copy of visual
studio, and I still cant build modules from source, because my
academic copy is version 7. As a scientist funded by the NSF, I feel
compelled to do all my work using free software (I feel compelled to
use free software, regardless). And I feel compelled to contribute to
the scientific capabilities of my favorite programming language. But
this compiler issue is a big (and seemingly unnecessary)
impediment. Will the BDFL ever split with Visual Studio?


You can build modules using msys/mingw. Instructions can be found at
http://sebsauvage.net/python/mingw.html

--
brainbot technologies ag
boppstrasse 64 . 55118 mainz . germany
fon +49 6131 211639-1 . fax +49 6131 211639-2
http://brainbot.com/ mailto:ra**@bra inbot.com
Jul 18 '05 #3
Darren Dale wrote:
I love the language. I love the community. My only complaint is that
Python for Windows is built with Visual Studio.

It is too difficult to build python, or a module, from source.


In all fairness this is more the problem with Microsoft than
python. If they had a free fully-featured compiler then Python
would be compiled with that.

Microsoft seems to have made some half-hearted attempt in
this direction so that is promising.

I know that there are other compilers for windows but their
market penetration is far less and thus expertise to use them
is hard to come by.

I myself am in a very similar position, have a hard time
deploying extension modules on windows. My usual workaround
is to have a second python available via cygwin where I can
compile everything then then use remote procedural calls
via XMPRPC to connect from the windows python. Clearly
this will work only in certain cases.

Istvan.
Jul 18 '05 #4
Darren Dale wrote:
I love the language. I love the community. My only complaint is that
Python for Windows is built with Visual Studio.

It is too difficult to build python, or a module, from source. This is
what open source is all about, isnt it? I even have a copy of visual
studio, and I still cant build modules from source, because my academic
copy is version 7. As a scientist funded by the NSF, I feel compelled to
do all my work using free software (I feel compelled to use free
software, regardless). And I feel compelled to contribute to the
scientific capabilities of my favorite programming language. But this
compiler issue is a big (and seemingly unnecessary) impediment. Will the
BDFL ever split with Visual Studio?


I agree. I don't mind it being built with Visual Studio, but out of the
box mingw compatibility would be cool...
Jul 18 '05 #5
>>>>> "David" == David Fraser <da****@sjsoft. com> writes:
David> I agree. I don't mind it being built with Visual Studio,
David> but out of the box mingw compatibility would be cool... --
David> http://mail.python.org/mailman/listinfo/python-list

The only thing that needs to be done for mingw compatibility is to
build the import lib, right? It would be nice if the win32 python
shipped with that; it's only 37K gzipped.

I have a batch script to create libpython23.a, for those who are
interested. It requires pexports-0.42h from
http://starship.python.net/crew/kern...orts-0.42h.zip
extracted to C:\Program Files\pexports-0.42h, and of course mingw.

Your paths may vary...

copy c:\windows\syst em32\python23.d ll .
c:\progra~1\pex ports-0.42h\bin\pexpo rts python23.dll > python23.def
c:\MinGW\bin\dl ltool --dllname python23.dll --def python23.def --output-lib libpython23.a

copy libpython23.a c:\python23\lib s
del python23.dll
del libpython23.a

Jul 18 '05 #6
Istvan Albert schrieb:
In all fairness this is more the problem with Microsoft than
python. If they had a free fully-featured compiler then Python
would be compiled with that.


Isn't the free Borland 5.5 compiler full featured?

--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0 BtcGx1c3IuZGU=\ n'.decode('base 64')
-------------------------------------------------------------------
Jul 18 '05 #7
I have a batch script to create libpython23.a, for those who are
interested. It requires pexports-0.42h from
http://starship.python.net/crew/kern...orts-0.42h.zip
extracted to C:\Program Files\pexports-0.42h, and of course mingw.

I have successfully built libpython23.a using
implib.exe provided with the free Borland C/C++ command line
compiler package.
Once this is done, cygwin-gcc can be used to create
_native_ windows modules.
If someone is interested I'll try to collect the
necessary commands and flags from my Makefiles.

Ciao,
Dominic
Jul 18 '05 #8
Dominic wrote:

I have successfully built libpython23.a using
implib.exe provided with the free Borland C/C++ command line
compiler package. Once this is done, cygwin-gcc can be used to create
_native_ windows modules. If someone is interested I'll try to collect the
necessary commands and flags from my Makefiles.


I'm interested. You should even make your copy of
libpython23.a downloadable too.

Istvan,
Jul 18 '05 #9
Istvan Albert wrote:
Darren Dale wrote:
I love the language. I love the community. My only complaint is that
Python for Windows is built with Visual Studio.

It is too difficult to build python, or a module, from source.

In all fairness this is more the problem with Microsoft than
python. If they had a free fully-featured compiler then Python
would be compiled with that.

Microsoft seems to have made some half-hearted attempt in
this direction so that is promising.


There's a difference between free and open source. I agree that having
python compilable using a freely available open source compiler is important

David
Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
18962
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
699
33761
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro capabilities, unfortunately. I'd like to know if it may be possible to add a powerful macro system to Python, while keeping its amazing syntax, and if it could be possible to add Pythonistic syntax to Lisp or Scheme, while keeping all of the...
467
21394
by: mike420 | last post by:
THE GOOD: 1. pickle 2. simplicity and uniformity 3. big library (bigger would be even better) THE BAD:
24
2213
by: Christopher J. Bottaro | last post by:
This post is just the culmination of my thoughts and discussions with my coworkers on Python. If you are not interested, please skip over it. At my work, we are developing a product from scratch. It is completely modular and the modules communicate via SOAP. Because of that, we can implement individual modules in any language of our choosing (so long as they have good SOAP libs). I chose to do all mine in Python because I'm a huge...
53
4327
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I would welcome comments and corrections, and would be happy to contribute some version of this to the Python website if it is of interest. ===
40
1935
by: brad | last post by:
Will len(a_string) become a_string.len()? I was just reading http://docs.python.org/dev/3.0/whatsnew/3.0.html One of the criticisms of Python compared to other OO languages is that it isn't OO enough or as OO as others or that it is inconsistent. And little things such as this seem to support those arguments. Not that it matters really... just seems that classes with methods used in a more consistent manner would be more appropriate in...
25
2135
by: Brian | last post by:
Had a unsettling conversation with a CS instructor that teaches at local high schools and the community college. This person is a long-term Linux/C/Python programmer, but he claims that the install, config, and library models for C# have proved to be less problematic than Python. So both his courses (intro, data structs, algorithms) are taught in C#. I am a low-end (3-year) journeyman Pythonista, and I was attracted to the language...
10
1683
by: globalrev | last post by:
print os.path.exists('C:\Users\saftarn\Desktop\NetFlixDataSet \trainingsetunzipped\training_set\mv_0000001.txt') d=open('C:/Python25/myPrograms/mapexperiments/maps/provinces-of- sweden.gif') d.close() exists returns false but when i open it doesnt complain. how come? another file that exists returned false for complained when i tried to
0
8498
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8152
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8341
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6817
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3962
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4025
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1598
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.