Re: Packaging a proprietary Python library for multiple OSs

2013-12-06 Thread Kevin Walzer
On 12/5/13, 10:50 AM, Michael Herrmann wrote: On Thursday, December 5, 2013 4:26:40 PM UTC+1, Kevin Walzer wrote: On 12/5/13, 5:14 AM, Michael Herrmann wrote: If your library and their dependencies are simply .pyc files, then I don't see why a zip collated via py2exe wouldn't work on other platf

Official discussion forum for a project (was: Packaging a proprietary Python library for multiple OSs)

2013-12-05 Thread Ben Finney
Travis Griggs writes: > On Dec 5, 2013, at 2:56 AM, rusi wrote: > > > 3. https://groups.google.com/forum/#!forum/python-virtualenv may be > > a better place to ask > > Am I the only one that sees the irony in this suggestion? Given the > long running tirades^H^H^H^H^H^H thread about “Managing Go

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Robert Kern
On 2013-12-05 17:50, Zero Piraeus wrote: : On Thu, Dec 05, 2013 at 09:12:30AM -0800, Roy Smith wrote: I keep hearing that I should use gmane as a superior interface. Well, I tried that. I went to http://dir.gmane.org/search.php, where it asks me to search for a newsgroup. I type in "comp.lan

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Mark Lawrence
On 05/12/2013 17:50, Zero Piraeus wrote: : On Thu, Dec 05, 2013 at 09:12:30AM -0800, Roy Smith wrote: I keep hearing that I should use gmane as a superior interface. Well, I tried that. I went to http://dir.gmane.org/search.php, where it asks me to search for a newsgroup. I type in "comp.lan

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Zero Piraeus
: On Thu, Dec 05, 2013 at 09:12:30AM -0800, Roy Smith wrote: > I keep hearing that I should use gmane as a superior interface. Well, > I tried that. I went to http://dir.gmane.org/search.php, where it > asks me to search for a newsgroup. I type in "comp.lang.python", and > it tells me, "No matc

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Chris Angelico
On Fri, Dec 6, 2013 at 4:12 AM, Roy Smith wrote: >> It's like an argument my boss and I had: I said that PHP is a bad language, >> and >> he said that it can't possibly be a bad language because he's able to >> write good code in it. > > PHP is a disaster of a language. But, like any bad tool, a

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Mark Lawrence
On 05/12/2013 16:20, Chris Angelico wrote: On Fri, Dec 6, 2013 at 2:32 AM, Travis Griggs wrote: On Dec 5, 2013, at 2:56 AM, rusi wrote: 3. https://groups.google.com/forum/#!forum/python-virtualenv may be a better place to ask Am I the only one that sees the irony in this suggestion? Given

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Roy Smith
On Thursday, December 5, 2013 11:20:41 AM UTC-5, Chris Angelico wrote: > No, it's not like that. It's that there are some people who, despite > truckloads of evidence to the contrary, still think that Google Groups > > is worth using. Rusi is one of them. Fortunately, he has defended his > > posit

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread mherrmann . at
On Thursday, 5 December 2013 16:52:45 UTC+1, rand...@fastmail.us wrote: > Or you could just sue anyone who steals your code. I see your point but I don't think it's very practical. If the person who stole the code sits in some remote country with a completely different legal system, I think I'll

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Chris Angelico
On Fri, Dec 6, 2013 at 2:32 AM, Travis Griggs wrote: > > On Dec 5, 2013, at 2:56 AM, rusi wrote: > >> 3. https://groups.google.com/forum/#!forum/python-virtualenv may be a better >> place to ask > > Am I the only one that sees the irony in this suggestion? Given the long > running tirades^H^H^H^

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Kevin Walzer
On 12/5/13, 10:50 AM, Michael Herrmann wrote: As I said, I need to make my *build* platform-independent. cx_Freeze is platform independent, but I'm not sure if it generates libraries or simply executables. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Michael Herrmann
On Thursday, December 5, 2013 4:26:40 PM UTC+1, Kevin Walzer wrote: > On 12/5/13, 5:14 AM, Michael Herrmann wrote: > If your library and their dependencies are simply .pyc files, then I > don't see why a zip collated via py2exe wouldn't work on other > platforms. Obviously this point is moot if y

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread random832
On Thu, Dec 5, 2013, at 10:49, Michael Herrmann wrote: > Very interesting point. Thank you very much for pointing out uncompyle. I > had always known that it was easy to decompile .pyc files, but hadn't > imagined it to be that easy. I just tried uncompyle with some of our > proprietary .pyc files.

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Michael Herrmann
On Thursday, December 5, 2013 3:09:32 PM UTC+1, Roy Smith wrote: > > 1. Is it considered a bad idea in the Python community to ship one large > > Zip file with all dependencies? > Yes. I see. Unfortunately, the library's users may be non-technical and might not even have experience with Python.

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Michael Herrmann
On Thursday, December 5, 2013 11:56:16 AM UTC+1, rusi wrote: > Wheel is the upcoming standard I think. > http://www.python.org/dev/peps/pep-0427/ I hadn't known of Wheel - thanks for pointing it out! -- https://mail.python.org/mailman/listinfo/python-list

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Travis Griggs
On Dec 5, 2013, at 2:56 AM, rusi wrote: > 3. https://groups.google.com/forum/#!forum/python-virtualenv may be a better > place to ask Am I the only one that sees the irony in this suggestion? Given the long running tirades^H^H^H^H^H^H thread about “Managing Google Groups headaches”? “Pleasss

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Kevin Walzer
On 12/5/13, 5:14 AM, Michael Herrmann wrote: Even though I am not generating an EXE, I am using py2exe to obtain the distributable Zip file for my library. This "hack" is very convenient, as py2exe allows me to simply say which packages I require and does the work of performing a dependency ana

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Roy Smith
In article <58d49c5b-c837-4dac-b764-369fea025...@googlegroups.com>, Michael Herrmann wrote: > 1. Is it considered a bad idea in the Python community to ship one large Zip > file with all dependencies? Yes. > How do *you* prefer to obtain and install Python libraries? "pip install" > 2. I

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread rusi
On Thursday, December 5, 2013 3:44:50 PM UTC+5:30, Michael Herrmann wrote: > Hi everyone, > > I am developing a proprietary Python library. The library is currently > Windows-only, and I want to also make it available for other platforms (Linux > & Mac). I'm writing because I wanted to ask for yo

Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Michael Herrmann
Hi everyone, I am developing a proprietary Python library. The library is currently Windows-only, and I want to also make it available for other platforms (Linux & Mac). I'm writing because I wanted to ask for your expert opinion on how to best do this. The library is currently shipped in the