Hacker News new | past | comments | ask | show | jobs | submit | owlishness's comments login

EJ...is that you? What a coincidence. What's up, old office-mate?


Indeed. It's a small world. :)


No, Dropbox is using Python and comtypes in its actual product.


Any idea what they are using to package the Python into the exe?

I've tried py2exe and all of the similar packagers that I could find, and every one of them requires brittle incantations to get everything packaged (I'm using a lot of graphics and number-crunching code beyond standard python, but all from the package index). I guess on the scale of Dropbox this is probably not a big issue. On my scale (1), it's one of the reasons I've started using C# (an unexpectedly awesome experience so far, btw). I need the fastest possible path to one-click exe files that non-technical (bio/chem) researchers and RAs can run. I've belatedly realized that the overhead of doing this in python is really too high.

[edit: found this SO answer: http://stackoverflow.com/questions/2678180/how-does-dropbox-... but it doesn't give specifics. In particular, AFAIK, none of the packagers can eat libpython.dll into a larger exe files]

[edit: interesting - http://blog.codepainters.com/2012/09/17/python-care-and-feed... ]


SharpDevelop and IronPython will give you one-click packaging to exe. IronPython has a built-in compiler, so really you can use it with any IDE.

IronPython is actually very cool if you want/have to live in .Net Land: it's mature, simple, and supports Python 2.7.


... but an EXE that has a dependency on the .NET runtime


Like every other application on Windows.


Some people just really, really liked Windows 2000 and they aren't giving up on it.


It is straightforward to tell py2exe to put the dll in the exe file:

http://www.py2exe.org/index.cgi/SingleFileExecutable#line-30...

But that doesn't say anything about other dependencies.


I use py2exe to package a complex application using a number of libraries into a single exe that contains everything except the graphics resources it uses (those are in a folder in the same dir). I'd be happy to help you set it up if you need help. Poke me on IRC, I'm Kliment on freenode. I have a bat file that runs "python setup.py py2exe" and out comes an executable. I rerun that bat file when I change stuff.


PyInstaller can bundle everything in the exe itself, not sure about py2exe.


I used to work for Microsoft, and while I now work for a "cooler" company, it's good to see people doing some actual analysis about it instead of blind M$ bashing.


I used to work for them too. The atmosphere just got worse with every passing year. I don't think Ballmer's done anything to rejuvinate the culture. It just keeps getting more cutthroat and political.


Another way of saying this is that the employees are well tenured.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: