[SciPy-dev] requesting feedback on/editing of scikits wiki-page

David Cournapeau david at ar.media.kyoto-u.ac.jp
Tue May 22 19:51:55 EDT 2007


Alexander Schmolck wrote:
>
> In an ideal world something like this should be triviually handled by the VC
> system. In a slightly less ideal world, the standard build tool (setuptools)
> should take care of it -- sane version handling certainly doesn't seem to have
> anything to do with numpy, but if that's the easiest way to do it for scikits
> and you know how to, by all means let's do that and update the wiki-page
> accordingly.
>
> Doing it with numpy.distutils actually was my first attempt but it didn't seem
> all that simple and easy either, and since I thought it didn't really belong
> there anyway, I decided to ask on the distutils-list, where I eventually got
> the setuptool-specific info that's currently on the wiki:
>
>   <http://www.mail-archive.com/distutils-sig@python.org/msg03176.html>
>
> I think I've more than exhausted my time budget for this now; if needs be I'll
> just hardcode the version numbers for mlabwrap or write a 3 line-script that
> does it for me, but it would obviously great if you or someone else could come
> up with a better way and document it on the wiki.
I don't have any solution for something automated, but I found the 
"scipy way" to work enough for me. The version is encoded in the 
info.py, the setup.py retrieve the version from there, and it is easily 
retrieved by a shell script. It is only hardcoded in one place. As I use 
a SCM different than svn, I cannot use the svn versioning provided by 
numpy.distutils.

David



More information about the SciPy-Dev mailing list