Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > simple system for building packages for multiple platforms?

Thread Tools

simple system for building packages for multiple platforms?

Dan Goodman
Posts: n/a
Hi all,

Until recently, our package has been pure Python, so distributing it has
been straightforward. Now, however, we want to add some extension
modules in C++. We're happy to provide source only distributions on
Linux because almost all Linux users will have all the required
compilers and so forth already installed. But we also want to support
Windows users who may not have C++ compilers available, which means
providing built distributions. But, we're faced with this problem, there
are three versions of Python we're supporting (2.5-2.7) and two
architectures (32 and 64 bit), which means 6 possible platforms to build
for (and maybe more in future if we upgrade to Python 3). Is there a
straightforward way to set up a semi-automated build system for this?

At the moment, I'm thinking about either having a bunch of virtual
machines or Amazon EC2 instances and submitting build jobs to these, but
setting that up looks to be a lot of work and I guess many people have
had this problem before. So, what do other people do?

Also, once we have a build system up, I guess it can also be used for a
more extensive testing system on these multiple platforms?


Reply With Quote
Miki Tebeka
Posts: n/a
IMO you can have different versions of Python on the same machine. So it's two windows machines. (Assuming you're going with *one* OS version

Also note there is some legal mambo jumbo around distributing MSVC DLLs (unless you plan to use mingw).
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Packages : A loomingproblem? packages might no longer work? (well not on your platform or python version anyway) David Lyon Python 19 04-23-2009 11:10 PM
Building Binary Packages Python 3 10-11-2007 06:00 PM
Advice on converting hashed packages to pseudo-hashed packages Ian Perl Misc 3 02-12-2005 12:17 AM
Do the javax.imageio packages replace packages in com.sun.image? Paul Smith Java 0 11-18-2003 02:58 PM