Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-06 Thread Dave Hein
On Sunday, April 5, 2015 at 8:01:22 PM UTC-5, Steven D'Aprano wrote: > On Mon, 6 Apr 2015 06:38 am, Dave Hein wrote: > > > I would like to distribute a python package with different code for > > Python 2.* than for Python 3.*. (Mostly this is because of different > > unicode string handling). > >

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-06 Thread Steven D'Aprano
On Tue, 7 Apr 2015 12:05 am, Ian Kelly wrote: > On Mon, Apr 6, 2015 at 5:52 AM, Steven D'Aprano > wrote: >> To the rest of the list... didn't somebody write up a wiki post on how to >> convince Gmail to be less unreasonable about top posting, quoting, etc? >> Does anyone still have the link? > >

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-06 Thread Dave Hein
On Monday, April 6, 2015 at 12:47:05 AM UTC-5, Stefan Behnel wrote: > Dave Hein schrieb am 05.04.2015 um 22:38: > > I would like to distribute a python package with different code for > > Python 2.* than for Python 3.*. (Mostly this is because of different > > unicode string handling). > > > > The

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-06 Thread Dave Hein
On Sunday, April 5, 2015 at 10:28:55 PM UTC-5, Mark Lawrence wrote: > On 05/04/2015 21:38, Dave Hein wrote: > > I would like to distribute a python package with different code for > > Python 2.* than for Python 3.*. (Mostly this is because of different > > unicode string handling). > > > > There is

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-06 Thread Chris Angelico
On Tue, Apr 7, 2015 at 12:05 AM, Ian Kelly wrote: > There is https://wiki.python.org/moin/GoogleGroupsPython about posting > from Google Groups, but I'm not aware of a similar resource for Gmail, > which has far fewer issues. As long as you compose your email in plain > text mode and remember to m

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-06 Thread Ian Kelly
On Mon, Apr 6, 2015 at 5:52 AM, Steven D'Aprano wrote: > To the rest of the list... didn't somebody write up a wiki post on how to > convince Gmail to be less unreasonable about top posting, quoting, etc? > Does anyone still have the link? There is https://wiki.python.org/moin/GoogleGroupsPython

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-06 Thread Steven D'Aprano
On Mon, 6 Apr 2015 09:23 pm, Dylan Evans wrote: [content snipped] Hi Dylan, and welcome! If you're going to post in response to people's questions, would you please disable HTML email and trim your responses? This mailing list is mirrored on Usenet, as comp.lang.python, where HTML is against th

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-06 Thread Dylan Evans
g a file that was created concurrently by os.rename (Windows) (Dave Angel) 5. Help with pipes, buffering and pseudoterminals (Daniel Ellis) 6. Re: Permission denied when opening a file that was created concurrently by os.rename (Windows) (Terry Reedy) 7. Is it possible to deliver different source

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-05 Thread Stefan Behnel
Dave Hein schrieb am 05.04.2015 um 22:38: > I would like to distribute a python package with different code for > Python 2.* than for Python 3.*. (Mostly this is because of different > unicode string handling). > > There is nothing in to setuptools or PyPi that directly supports > this scenario. >

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-05 Thread Mark Lawrence
On 05/04/2015 21:38, Dave Hein wrote: I would like to distribute a python package with different code for Python 2.* than for Python 3.*. (Mostly this is because of different unicode string handling). There is nothing in to setuptools or PyPi that directly supports this scenario. But perhaps th

Re: Is it possible to deliver different source distributions for different Python versions?

2015-04-05 Thread Steven D'Aprano
On Mon, 6 Apr 2015 06:38 am, Dave Hein wrote: > I would like to distribute a python package with different code for > Python 2.* than for Python 3.*. (Mostly this is because of different > unicode string handling). > > There is nothing in to setuptools or PyPi that directly supports > this scenar

Is it possible to deliver different source distributions for different Python versions?

2015-04-05 Thread Dave Hein
I would like to distribute a python package with different code for Python 2.* than for Python 3.*. (Mostly this is because of different unicode string handling). There is nothing in to setuptools or PyPi that directly supports this scenario. But perhaps there could be some script run at install