Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Martin v. Löwis
Am 13.07.2010 03:23, schrieb Greg Ewing: > Martin v. Löwis wrote: > >> For backwards compatibility, I'm >> willing to accept solutions as long as they don't allow users to bypass >> that checkbox. > > If the user is required to visit a web page to complete > the registration, could you put the c

[Distutils] Distribute and Python 3

2010-07-12 Thread Hugo Lopes Tavares
I am using distribute and python 3.2a0 while I add py3k support to pip this GSoC and I got a problem using distribute: from distutils.sysconfig import _config_vars ImportError: cannot import name _config_vars Well, in Python 3 the distutils.sysconfig pops a DeprecationWarning, because now Python

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Greg Ewing
Martin v. Löwis wrote: For backwards compatibility, I'm willing to accept solutions as long as they don't allow users to bypass that checkbox. If the user is required to visit a web page to complete the registration, could you put the check box on *that* page instead? -- Greg ___

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tarek Ziadé wrote: > 2010/7/13 "Martin v. Löwis" : > ... >>> Again, maybe it's flawed, and maybe we should remove it. But you cannot >>> break this feature in Python 2.5, 26 etc.. because you find it flawed today. >> And it's not the reason that I brok

Re: [Distutils] [buildout] buildout 1.5 sometime ever please?

2010-07-12 Thread Dave Peticolas
On Thu, Jul 8, 2010 at 8:58 AM, Gary Poster wrote: > My apologies. > > There is a branch that addresses all reported issues (as reported here and > in Launchpad) except one: svn+ssh:// > svn.zope.org/repos/main/zc.buildout/branches/gary-betafix/ (or browse in > http://svn.zope.org/zc.buildout/bran

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Jeremy Kloth
On Monday, July 12, 2010 04:15:26 pm Tarek Ziadé wrote: > 2010/7/13 "Martin v. Löwis" : > >> Why is that ? This used to work, IIRC. This is a regression on PyPI > >> side (checkbox added afaik), and needs to be fixed. > > > > How would you propose to fix this? > > A quick hack is to look at the

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Tarek Ziadé
2010/7/13 "Martin v. Löwis" : ... > >> Again, maybe it's flawed, and maybe we should remove it. But you cannot >> break this feature in Python 2.5, 26 etc.. because you find it flawed today. > > And it's not the reason that I broke it. Instead, the reason is that the > PSF required me to make the c

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Martin v. Löwis
> Your change in the PyPI UI has broken the register command in > Distutils for Python 2.5 and onward. Correct. Actually, older versions are also broken, back to 2.3. > If this legal issue is to be applied to *all* existing Python version > *immediatly*, we should create a security patch for all

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Tarek Ziadé
2010/7/13 "Martin v. Löwis" : > Am 13.07.2010 00:15, schrieb Tarek Ziadé: >> 2010/7/13 "Martin v. Löwis" : Why is that ? This used to work, IIRC. This is a regression on PyPI side (checkbox added afaik), and needs  to be fixed. >>> >>> How would you propose to fix this? >> >> A quick hack

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Martin v. Löwis
Am 13.07.2010 00:15, schrieb Tarek Ziadé: > 2010/7/13 "Martin v. Löwis" : >>> Why is that ? This used to work, IIRC. This is a regression on PyPI >>> side (checkbox added afaik), and needs to be fixed. >> >> How would you propose to fix this? > > A quick hack is to look at the user agent (urllib2

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Tarek Ziadé
2010/7/13 "Martin v. Löwis" : >> Why is that ? This used to work, IIRC. This is a regression on PyPI >> side (checkbox added afaik), and needs  to be fixed. > > How would you propose to fix this? A quick hack is to look at the user agent (urllib2) and remove your checkbox in this case. A cleaner s

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Martin v. Löwis
> Why is that ? This used to work, IIRC. This is a regression on PyPI > side (checkbox added afaik), and needs to be fixed. How would you propose to fix this? > We could think about deprecating it maybe, but we cannot break all > existing python versions with a change in the PyPI UI like that...

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Tarek Ziadé
On Mon, Jul 12, 2010 at 11:22 PM, "Martin v. Löwis" wrote: > Am 12.07.2010 14:43, schrieb Fred Drake: >> On Mon, Jul 12, 2010 at 7:07 AM, Takayuki Shimizukawa >> wrote: >>> However, the usage of the register command is written on a >>> manual (http://docs.python.org/distutils/packageindex.html),

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Martin v. Löwis
Am 12.07.2010 14:43, schrieb Fred Drake: > On Mon, Jul 12, 2010 at 7:07 AM, Takayuki Shimizukawa > wrote: >> However, the usage of the register command is written on a >> manual (http://docs.python.org/distutils/packageindex.html), and >> many people will meet with the same problem by using the me

Re: [Distutils] buildout dependencies trouble

2010-07-12 Thread Éric Araujo
[Jim Fulton] >[John Griessen] >> I've been making a buildout.cfg for deploying web sites and hit some snags. >> >> django-page-cms is a package I want, and getting it via buildout >> found eggs for other apps, but needed source for django-page-cms. > > I don't know what this means. I understood i

Re: [Distutils] [buildout] buildout 1.5 sometime ever please?

2010-07-12 Thread Chris Withers
Godefroid Chapelle wrote: I have an opened branch with small fix to zc.recipe.egg. http://svn.zope.org/zc.buildout/branches/gotcha-scripts-warning/ It adds a warning when a script name passed in 'scripts' argument of easy_install.scripts is not defined in egg entry points. Does this warning

[Distutils] zc.buildout - multiple 'cascading' buildout.cfg files

2010-07-12 Thread Alan Franzoni
Hello, I'm wondering if there's a way to have something like "local" buildout.cfg files overriding a "master" one; e.g. if buildout.cfg is something like [buildout] parts = one two [one] ... [two] ... I'd like to have something like buildout.cfg.local and insert something like [one]

Re: [Distutils] buildout dependencies trouble

2010-07-12 Thread Jim Fulton
On Sun, Jul 11, 2010 at 3:18 PM, John Griessen wrote: > I've been making a buildout.cfg for deploying web sites and hit some snags. > > django-page-cms is a package I want, and getting it via buildout > found eggs for other apps, but needed source for django-page-cms. I don't know what this means

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Fred Drake
On Mon, Jul 12, 2010 at 7:07 AM, Takayuki Shimizukawa wrote: > However, the usage of the register command is written on a > manual (http://docs.python.org/distutils/packageindex.html), and > many people will meet with the same problem by using the method. I guess it's been a long time since I've

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Éric Araujo
> The name of the "register" command is a little confusing. [Its] > purpose is *not* to allow you to register yourself with PyPI, but to > register package information with the site. According to the doc pointed to by Takayuki, it’s both. I’ll open a bug report against distutils and PyPI (if I fi

Re: [Distutils] `setup.py register` can't create PyPI account.

2010-07-12 Thread Takayuki Shimizukawa
Hi Fred, 2010/7/12 Fred Drake : > On Sun, Jul 11, 2010 at 4:47 AM, Takayuki Shimizukawa > wrote: >> I wasn't able to make an account in PyPI using `setup.py register`. -snip- > You need to use the web interface to create your account.  When using > "setup.py register", you'll be asked to authenti