PDA

View Full Version : New Project: Python Packager



Jacks0n
November 8th, 2009, 06:31 PM
Hey everyone!

I just want to announce a new project I started: Python Packager (http://python-packager.com) (http://python-packager.com).

It's a web service where you upload your Python program (.py/.zip/.tar.gz files) and it'll make various packages for Windows and Linux.

Linux - Single file, portable directory, DEB/RPM packages
Windows - Single exe, portable directory, Windows installer
Source code analysis - Using pylint
Source code documentation - Using pydoc
Source code with license prepended to every file (if you want)

It attempts to make packaging Python programs easy, and in theory, "just work". It's currently in beta/alpha so if your program doesn't properly get packaged, send me an email - jackson@jacksonc.com. It was started because I would often have to use the existing tools (eg. py2exe, pyinstaller) on each platform for each type of binary. Then I'd have custom scripts to make DEB/RPM packages, and a Windows installer. I wanted something easier, and this attempts to make this process as easy as possible.

Anyway, it's open source (available at http://launchpad.net/python-packager), and so check it out at http://python-packager.com. Oh, and it's free to use!


Jackson

Can+~
November 8th, 2009, 07:17 PM
Sounds impressive. Only one question though:

Why do it on server side instead of downloading an application to do it locally?

Jacks0n
November 8th, 2009, 08:18 PM
Sounds impressive. Only one question though:

Why do it on server side instead of downloading an application to do it locally?

I tried that originally, but each platform's binaries need to be packaged on their own platform. eg. Windows packages on Windows, Linux packaged on Linux. So I figured server side would be easiest. So at least this way Linux users can package their app for Windows users without having to use Windows, and visa-versa. Plus if it gains any interest, and seems to work most of the time a Mac version (.app/.dmg) could also be done too.

I love working with Python, but always wished packaging up a Python program for average people would be easier. So this is an *attempt* to do this.


Jackson

Danielkida
November 30th, 2009, 11:44 PM
This is exactly what i've been looking for!

Normally If wan't to show someone something ive been working on I have to tell them to install python..then install the libraries...and they're usually bored and have given up by this point.

-grubby
December 1st, 2009, 12:29 AM
Please have my children This is going to be very useful for me.

ahmatti
December 1st, 2009, 06:41 AM
Looks very interesting, I'm going to try it straight away! At least for the Mac version would be very useful :)

Jacks0n
December 2nd, 2009, 11:27 AM
Thanks Guys, that's great to hear! Yeah that's the idea, basically you can send someone a single file and they can double click on it and it'll "just work" without having to install Python.

A Mac version would be good, I'm still trying to figure out how to do it. The build server runs on Linux (Ubuntu!), and uses Wine to build the Windows version. So I'd have to have some way to run the Mac Python version on Linux.

Also if there's ever any problems/suggestions, email me! jackson 'at' jacksonc.com. There's still bugs that need ironing out.


Jackson

nvteighen
December 2nd, 2009, 02:50 PM
It seems you've found a niche. I'll test your packager and tell you my impressions. But the concept (which is the important thing) is really innovative and has potential.

Congrats and good luck!! :KS

P.S.: You meant https://launchpad.net/python-packager (https://launchpad.net/python-packager) :p

escapee
December 2nd, 2009, 06:56 PM
This is pretty brilliant. It definitely has a lot of potential and I wish you the best of luck!

Jacks0n
December 6th, 2009, 04:48 PM
Thanks guys, that's great to hear. I just got back from holidays so the project should start improving a lot more soon. I'm a uni student currently on holidays (summer break). Plus the service should be quicker now (~ 20 minutes) since it isn't being run over dial-up in a hotel room :P.

Jackson