[SciPy-dev] scipy in CVS is sdist-build-import'able

eric eric at scipy.org
Mon Feb 18 00:48:19 CST 2002


Hey Pearu,

> Good news! Read the subject.

Excellent.  Sounds like this was a major pain.   Thanks.

>
> Among many changes, now the version string of scipy is computed with
> update_version. Currently it looks like this
>   SciPy-0.2.1294-alpha-2715

I had thought much about version numbers -- accept for the fact that we needed
one. :-)
This is verbose, but fine with me.  Thanks.

> Its is long and ugly but informative. Feel free to change it to a better
> one in scipy_version.py file.
> The meanings of each item is documented in
> update_version.__doc__.
>
> And there is one issue with calculating version numbers automatically
> (see the comments in update_version for details). Basically, in order to
> keep this version string updated in the scipy CVS repository, one needs to
> use the following procedure when commiting changes to the repository:
>
> 1) Commit your changes
>   cvs commit ...
>
> 2) Run
>   python scipy_version.py
> this will update __version__.py
>
> 3) Commit __version__.py
>   cvs commit -m "Updating version" __version__.py

Ok.  I'll start trying this with my checkins.

>
> Steps 2) and 3) could be run automatically by CVS server. But let's see
> how it works first.

Assuming all goes well, is it hard to set up?

eric






More information about the Scipy-dev mailing list