[SciPy-Dev] scikits contribution?
Fri Jul 16 00:02:18 CDT 2010
On Thu, Jul 15, 2010 at 5:47 PM, Jonathan Stickel <email@example.com> wrote:
> On 7/15/10 15:14 , firstname.lastname@example.org wrote:
>> Date: Thu, 15 Jul 2010 20:02:52 +0000 (UTC)
> > From: Pauli Virtanen <email@example.com>
> > Subject: Re: [SciPy-Dev] scikits contribution?
> > To: firstname.lastname@example.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/
>>> > 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
>> on line 133 by the obvious
>> if len(value)> 1:
>> value = value
>> 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.
It would be better to upload also the sdist,
Since scikits.datasmooth is pure python, an egg doesn't really have an
advantage and is specific to a python version, py2.6 only.
(I'm on py25)
Why do you have the code duplication in two modules and the
conditional import in __init__.py ?
from regularsmooth import *
except ImportError as error:
What is the import error that might occur with regularsmooth ?
Also an example to quickly try out the scikit would be very useful.
(And tests and docs are not included yet.)
> 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?
> SciPy-Dev mailing list
More information about the SciPy-Dev