Re: pypi submission?

2015-04-06 Thread Dave Hein
'rc' version (like 1.0a1 or 1.0rc4), then pip won't install it by default ... it will only install 'released' versions (like 1.0 or 1.0.1). Adding the --pre option tells pip you actually do want the pre-release version. So: pip install --pre directory-caching > [snip] > > - Benjamin -- Dave Hein -- https://mail.python.org/mailman/listinfo/python-list

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 >

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 > > un

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 han

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

2015-04-05 Thread Dave Hein
location. Is that at all possible? Is there some install time hook that lets me supply custom installation code? -- Dave Hein -- https://mail.python.org/mailman/listinfo/python-list

lxml.etree, namespaces and element insertion

2011-01-27 Thread hein
The other day i was processing an xml tree using lxml.etree. That tree contained a namespace. During that processing i inserted an element. Later on i tried to find that element using xpath. And to my suprise that element was not found! Maybe my suprise is just the result of my marginal knowledge

Help installing Python 2.3 on Win2K

2005-09-23 Thread D.S. Hein
I have installed python 2.3 on my Windows 2K laptop and I can run python from the command prompt. I have tried various ways to set PYTHONPATH with the various directories where I have python programs (i.e. xx.py) but no matter how I set PYTHONPATH I keep getting a message that python can't

Help understanding code

2005-04-10 Thread Dhruva Hein
Hi. I am trying to understand a section of code written for Plone and I am having problems understanding the Python syntax in a few of the following lines. I'd be grateful if someone could help me understand what's happening in the lines I've marked. I can't see how the dictionary is built or h