[Distutils] Conflict between egg and standard package with same namespace

2007-06-13 Thread Andreas Jung
In my setup I have a zopyx.slimp egg inside site-package and a package zopyx.txng3. With this setup I can not longer import files from the zopyx.txng3 package. [EMAIL PROTECTED]:~ ls /opt/python-2.4.3/lib/python2.4/site-packages/zopyx*

[Distutils] [easy_install] won't upgrade egg from 1.0.9 - 1.0.10

2007-07-17 Thread Andreas Jung
I uploaded z3c.sqlalchemy 1.0.10 to Cheeseshop. easy_install -U z3c.sqlalchemy won't upgrade an installed 1.0.9 egg to the new version unless I pass the current version as z3c.sqlalchemy==1.0.10. Bug or feature? Andreas pgppBGKSpk5wf.pgp Description: PGP signature

[Distutils] Obtaining the Egg version from the Python code?

2007-08-28 Thread Andreas Jung
Is there a way to obtain the version info of an egg from with Python code stored with the egg? Usecase: an egg contains several commandline utils (configured and installed using entry point). A dedicated --version option should display the overall version of the egg. Tnx, Andreas

Re: [Distutils] my wishlist for easy_install

2007-09-04 Thread Andreas Jung
--On 29. August 2007 10:37:46 +0200 Toni Mueller [EMAIL PROTECTED] wrote: Hi, I'd really like to see these two features in easy_install which I can't find right now: 1 - coexist with the operating system/recognize packages which are installed via operating system means 2 - remove

Re: [Distutils] virtual-python.py, sys.prefix, and Mac

2007-09-16 Thread Andreas Jung
--On 15. September 2007 11:09:44 -0500 Ian Bicking [EMAIL PROTECTED] wrote: Hi all. I'm kind of giving up on workingenv, and have started working from virtual-python as a basis instead (http://pypi.python.org/pypi/virtualenv/). I tried virtualenv - however the python in the new

Re: [Distutils] Uploading an egg behind a proxy

2008-01-24 Thread Andreas Jung
--On 25. Januar 2008 15:06:17 +0900 David Cournapeau [EMAIL PROTECTED] wrote: Hi, I would like to upload an egg to the cheeseshop, but I have a problem because my network is behind a proxy. My configuration is unusual in the sense that my network has no DNS server, and everything is

[Distutils] Introspection on eggs?

2008-02-27 Thread Andreas Jung
Hi, I am currently working on a small PyPI replacement for hosting local and private eggs: http://pypi.python.org/pypi/haufe.eggserver/0.1.2 I would like to some introspection on uploaded eggs - basically I am interested in the long_description and some other metadata without having to

[Distutils] [PyPI] Checking reST compliance of long description

2008-03-01 Thread Andreas Jung
Hi, I just tried to upload a new package with a pretty long long_description. After uploading PyPI showed the text as plain/text...obviously an error within the reST structure. Because of the length it took me half an hour for figuring out the error. My local rst2html script did not report any

Re: [Distutils] [PyPI] Checking reST compliance of long description

2008-03-03 Thread Andreas Jung
--On 3. März 2008 10:58:33 + stephen emslie [EMAIL PROTECTED] wrote: This could be due to a bug in the way that distutils escapes (folds) whitespace in the long_description field. I have seen that cause errors when rst2html expects indentation which has been lost in the escaping

[Distutils] [zc.buildout] find-links does not deal with two-level hierarchy

2008-03-07 Thread Andreas Jung
Hi, we have a local fileserver with a two-level hierarchy for egg -something like: haufe.eggserver +--- haufe.eggserver-0.1.0.egg +--- haufe.recipe.svnsetup +--- easy_install -i http://our-server/egg haufe.recipe.svnsetup works fine with this two-level hierarchy. Using the URL

[Distutils] Encoding of metadata?

2008-03-07 Thread Andreas Jung
Hi, are there any recommendations or constraints for the encoding of package metadata - both for PyPI and the setuptools internals? Although most of us write their metadata in English, we do have author names with accented characters...it's unclear if iso-8859-15 or utf-8 is preferred in this

Re: [Distutils] Encoding of metadata?

2008-03-07 Thread Andreas Jung
--On 8. März 2008 18:26:54 +1100 Ben Finney [EMAIL PROTECTED] wrote: Andreas Jung [EMAIL PROTECTED] writes: what's the recommendation for the non-ascii world? I'm not sure what body you're expecting a recommendation from. Strange question. I expect the metadata having a clear and well

[Distutils] [zc.buildout] buildout unable to parse 'simple' view

2008-04-03 Thread Andreas Jung
We're running a local egg repository based on haufe.eggserver. Buildout won't find an egg called 'haufe.recipe.svnsetup' that is stored on the server. The server is configured properly within the find-links section. And I can see a successful HTTP request to the page in the logs. The

Re: [Distutils] Unicode in distutils meta-data

2008-04-07 Thread Andreas Jung
--On 7. April 2008 10:32:14 +0200 Tarek Ziadé [EMAIL PROTECTED] wrote: My proposal here would be to add a 'encoding' field in the metadata that defaults to 'utf8', and that would let people explicitely +1 Andreas pgp1ZKEy9JSxh.pgp Description: PGP signature

[Distutils] [zc.buildout] Accessing part configuration from other recipe?

2008-04-18 Thread Andreas Jung
Hi, is it possible to get hold of the buildout configuration of part A from within the recipe configured for part B? Usecase: the configuration of part A should work as blueprint for actions performed through the recipe configured for part B. Andreas pgp2MssMhH5Kh.pgp Description: PGP

[Distutils] Providing binary packages for Python versions with different internal unicode representation

2008-04-24 Thread Andreas Jung
Hi, Python interpreters can be compiled by different internal unicode representations (UCS2 vs. UCS4). Extension modules using unicode methods of Python internally can not be used with a Python interpreter with a different internal unicode representation. What's the deal when you want to

Re: [Distutils] [issue24] Rename easy_install

2008-06-14 Thread Andreas Jung
--On 14. Juni 2008 08:46:02 +0200 Jeroen Ruigrok van der Werven [EMAIL PROTECTED] wrote: -On [20080614 03:18], zooko ([EMAIL PROTECTED]) wrote: I said it was too late, because there are already lots of people worldwide who know the name easy_install. It would be costly to them to change

[Distutils] bug in setuptools 0.6c8/undefined log in entries_finder()/sdist.py

2008-06-29 Thread Andreas Jung
sdist.py contains this: def entries_finder(dirname, filename): f = open(filename,'rU') data = f.read() f.close() if data.startswith('8'):# subversion 1.4 for record in map(str.splitlines, data.split('\n\x0c\n')[1:]): if not record or len(record)=6 and

[Distutils] [zc.buildout/egg-cache] .pyc files referencing temporary location?

2008-07-16 Thread Andreas Jung
We have some reports from co-workers working with zc.buildout and an egg-cache where the .pyc files refer to temporary directories within the egg-cache (obviously the location where the files within the egg were unpacked and compiled) - something like that.

Re: [Distutils] Best way to mirror Pypi

2008-08-11 Thread Andreas Jung
--On 11. August 2008 20:24:00 +0200 Sebastien Douche [EMAIL PROTECTED] wrote: Hi there :), We use intensively Setuptools and buildout and we are looking to increase downloading and checking speeds. What are elegant solutions ? The best way is to mirror also eggs (like a mirror debian for

[Distutils] Setuptools reindenting reST documentation?

2008-08-12 Thread Andreas Jung
Hi there, I have a reST documentation containing something like that blablabla:: foo foo foo foo foo foo used as long_description. After building the egg the PKG-INFO file contains the text with the same indentation level. I came across this issue because rst2html.py did not complain

Re: [Distutils] Annoucing distribute project

2008-09-25 Thread Andreas Jung
--On 25. September 2008 12:31:40 -0400 Phillip J. Eby [EMAIL PROTECTED] wrote: Personally, I would rather see not a fork, but development of an entirely new disutils replacement, and then not worry at all about backward compatibility at the setup.py level. Apart from the pkg_resources

Re: [Distutils] [issue50] Add ability use proxies

2008-10-05 Thread Andreas Jung
--On 5. Oktober 2008 19:06:57 + Bryan Deter [EMAIL PROTECTED] wrote: New submission from Bryan Deter [EMAIL PROTECTED]: It would be very helpful to have the ability to have setuptools route through a proxy. This would make using it in controlled environments significantly easier.

Re: [Distutils] [Catalog-sig] distribute D.C. sprint tasks

2008-10-11 Thread Andreas Jung
On 11.10.2008 18:24 Uhr, Tarek Ziadé wrote: Day 1 is almost over, We worked on two elements so far: the mirroring thing, and the terminology one these are early drafts, http://wiki.python.org/moin/PythonPackagingTerminology http://wiki.python.org/moin/PEP_374 I think we should also

Re: [Distutils] [Catalog-sig] distribute D.C. sprint tasks

2008-10-12 Thread Andreas Jung
On 11.10.2008 21:56 Uhr, Tarek Ziadé wrote: On Sat, Oct 11, 2008 at 7:40 PM, Andreas Jung[EMAIL PROTECTED] wrote: On 11.10.2008 18:24 Uhr, Tarek Ziadé wrote: Day 1 is almost over, We worked on two elements so far: the mirroring thing, and the terminology one these are early drafts, http

Re: [Distutils] Proxy server with easy_install (Python noob)

2008-10-18 Thread Andreas Jung
On 18.10.2008 16:27 Uhr, James Mansion wrote: Bit of a Python noob I'm afraid. I'd like to install Sphinx with easy_install, but its timing out. I'm running XP sp3. This is the usual symptom of trying to use software that hasn't noticed that it needs to use a proxy server to get out of my

Re: [Distutils] [buildout] private eggs and egg repositories

2008-11-15 Thread Andreas Jung
On 15.11.2008 14:28 Uhr, Chris Withers wrote: Hi All, I'm getting a growing number of customer-specific and non-open-source eggs. I used to just put these in as svn:externals and then add the path in as a develop egg, however, I'm not sure this is going to scale. What I'd like to do is have a

Re: [Distutils] [buildout] private eggs and egg repositories

2008-11-15 Thread Andreas Jung
On 15.11.2008 15:26 Uhr, Chris Withers wrote: Andreas Jung wrote: What I'd like to do is have a local egg repository that I can put these eggs in and then just point buildout at it. http://pypi.python.org/pypi/haufe.eggserver So you basically add the egg-server url as a find-links option

Re: [Distutils] [buildout] private eggs and egg repositories

2008-11-16 Thread Andreas Jung
On 17.11.2008 8:17 Uhr, Chris Withers wrote: Andreas Jung wrote: Out on interest, how does buildout handle password-protected indexes? Unsupported - we trust our internal and external developers. Okay, but surely that means you can only expose that packaging server to a very limited set

[Distutils] setuptools/buildout: why only one index server configurable

2008-11-25 Thread Andreas Jung
Hi there, in buildout I can define only one alternative index server using 'index = http://pypi.zopyx.com'. Now we are in the situation where we are running two internal index servers (one for our own internal packages and one PyPI mirror). Is there some reason for this limitation? I assume

Re: [Distutils] setuptools/buildout: why only one index server configurable

2008-11-25 Thread Andreas Jung
On 26.11.2008 8:33 Uhr, Tarek Ziadé wrote: On Wed, Nov 26, 2008 at 8:22 AM, Andreas Jung[EMAIL PROTECTED] wrote: Hi there, in buildout I can define only one alternative index server using 'index = http://pypi.zopyx.com'. Now we are in the situation where we are running two internal index

Re: [Distutils] setuptools/buildout: why only one index server configurable

2008-11-26 Thread Andreas Jung
On 26.11.2008 9:54 Uhr, Tarek Ziadé wrote: On Wed, Nov 26, 2008 at 8:46 AM, Andreas Jung[EMAIL PROTECTED] wrote: On 26.11.2008 8:33 Uhr, Tarek Ziadé wrote: On Wed, Nov 26, 2008 at 8:22 AM, Andreas Jung[EMAIL PROTECTED] wrote: Hi there, in buildout I can define only one alternative index

Re: [Distutils] setuptools/buildout: why only one index server configurable

2008-11-26 Thread Andreas Jung
On 26.11.2008 11:04 Uhr, Tarek Ziadé wrote: On Wed, Nov 26, 2008 at 10:09 AM, Andreas Jung[EMAIL PROTECTED] wrote: On 26.11.2008 9:54 Uhr, Tarek Ziadé wrote: On Wed, Nov 26, 2008 at 8:46 AM, Andreas Jung[EMAIL PROTECTED] wrote: On 26.11.2008 8:33 Uhr, Tarek Ziadé wrote: On Wed, Nov 26

Re: [Distutils] setuptools/buildout: why only one index server configurable

2008-11-27 Thread Andreas Jung
On 27.11.2008 13:32 Uhr, Chris Withers wrote: Andreas Jung wrote: in buildout I can define only one alternative index server using 'index = http://pypi.zopyx.com'. Now we are in the situation where we are running two internal index servers (one for our own internal packages and one PyPI mirror

Re: [Distutils] buildout recipe options

2009-01-05 Thread Andreas Jung
A good recipe has a good documentation and/or doctests. You might check on PyPI if a recipe fulfills those requirements. Otherwise, you have to read the code or stick with a recipe with a similar functionality. -aj On 05.01.2009 20:29 Uhr, dunia wrote: Hi list I'm a little bit confused

Re: [Distutils] Building Python Eggs

2009-01-14 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14.01.2009 10:20 Uhr, Amit k. Saha wrote: Hi all, I am just learning the basics of building Python eggs using 'setuptools'. What I have is the following code structure in a top-down fashion: - demo1.py - __init.py__ - setup.py

[Distutils] [buildout] setuptools/buildout trying to use /root/.python-eggs after setuid()ing with Zope

2009-02-04 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I am not sure which component is in charge for the following issue: - standard Plone 3.1 installation installed with paster/Zopeskel with a 'zope' account without special privileges - in the instance is started from through

Re: [Distutils] [buildout] how do I force an egg to rebuild?

2009-02-16 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16.02.2009 14:38 Uhr, Chris Withers wrote: Hi All, As a result of the Debian 5.0 release, psycopg2 needs to be recompiled to use the new shared library: import psycopg2 as psycopg File build/bdist.linux-i686/egg/psycopg2/__init__.py,

Re: [Distutils] [Catalog-sig] Setuptools + Subversion 1.6 - new setuptools release necessary

2009-04-28 Thread Andreas Jung
On 28.04.2009 14:51 Uhr, Chris Withers wrote: Andreas Jung wrote: it is known that the latest setuptools version produces broken packages with SVN 1.6 checkouts. Could we get a fixed setuptools version asap - fixing this issue is essential (there is some patch floating around). I think you

Re: [Distutils] Setuptools + Subversion 1.6 - new setuptools release necessary

2009-05-06 Thread Andreas Jung
On 28.04.09 14:58, Andreas Jung wrote: On 28.04.2009 14:51 Uhr, Chris Withers wrote: Andreas Jung wrote: it is known that the latest setuptools version produces broken packages with SVN 1.6 checkouts. Could we get a fixed setuptools version asap - fixing this issue is essential

Re: [Distutils] Fork mess

2009-07-19 Thread Andreas Jung
On 19.07.09 22:08, P.J. Eby wrote: At 12:50 PM 7/19/2009 -0700, Sridhar Ratnakumar wrote: On Sun, 19 Jul 2009 12:13:25 -0700, Lennart Regebro rege...@gmail.com wrote: 2009/7/19 P.J. Eby p...@telecommunity.com: I'm actually kind of hoping that if I make Discovery nice

Re: [Distutils] People want CPAN :-)

2009-11-07 Thread Andreas Jung
Am 07.11.09 16:37, schrieb Tarek Ziadé: On Sat, Nov 7, 2009 at 3:57 PM, Andreas Jung li...@zopyx.com wrote: [..] - supports too much different versioning schemas. Both schema supported by setuptools and the one proposed by Tarek in some PEP are totally over-engineered. A simple

Re: [Distutils] People want CPAN :-)

2009-11-07 Thread Andreas Jung
Am 07.11.09 17:13, schrieb Tarek Ziadé: On Sat, Nov 7, 2009 at 4:56 PM, Andreas Jung li...@zopyx.com wrote: [..] Do we need/want development on PyPI? At least not me. MAJOR.MINOR.MICRO.PICO + |a-c]1..N should be good enough. PEP 386 is about providing the version scheme so we can

[Distutils] outdated PyPI mirrors

2013-04-11 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to http://www.pypi-mirrors.org/ 3 out of 8 PyPI mirror are out of date or not available. This is not good for the PyPI reputation. Of course mirror can have problems for a while but the maintainers should feel in charge of maintaining

[Distutils] PyPI CDN issues

2013-05-29 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, after switching to the new PyPI CDN infrastructure we have seen some odd behavior with buildout fetching two hundred packages or so. Packages that are a located on PyPI have not been available to the CDN or only after some minutes. Note