simple system for building packages for multiple platforms?

D

Dan Goodman

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?

Dan
 
M

Miki Tebeka

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top