[SciPy-Dev] scikits contribution?

Jonathan Stickel jjstickel at vcn.com
Thu Jul 15 17:47:50 EDT 2010


On 7/15/10 15:14 , scipy-dev-request at scipy.org wrote:
> Date: Thu, 15 Jul 2010 20:02:52 +0000 (UTC)
 > From: Pauli Virtanen <pav at iki.fi>
 > Subject: Re: [SciPy-Dev] scikits contribution?
 > To: scipy-dev at scipy.org
> Jonathan Stickel wrote: [clip]
>> >  $ python setup.py register sdist bdist_egg upload -s
> [clip: distutils error]
>> >  "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/distutils/command/upload.py",
>> >  line 133, in upload_file
>> >
>> >  IndexError: tuple index out of range
>> >
>> >
>> >  It looks like the index was created OK, but no source or binary package
>> >  was uploaded.  Any help on this?
> I think I remember seeing this too. This is some distutils bug, I think...
>
> My "fix" was just to edit the "distutils/command/upload.py" and replace
>
> 	value = value[1]
>
> on line 133 by the obvious
>
> 	if len(value)>  1:
> 	    value = value[1]
> 	else:
> 	    value = ""
>
> and hope for the best. Or maybe I ran "upload" on a separate line from
> the "sdist" and "bdist".
>
> This is maybe not how it should go.
>
> You can also upload the tarballs on the PyPi website.

Ah, this seems to be it.  I uploaded the egg using the website.

OK, now that I have the sources on git and an egg on pypi, would some of 
you like to try out the scikit and let me know what I did wrong?

Thanks,
Jonathan



More information about the SciPy-Dev mailing list