[f2py] Version
Lionel Maziere
maziere@algory.com
04 Mar 2002 17:00:50 +0100
Hi,
Scipy_distutils allows (as does standard distutils) a version to be
specified to 'setup'.
A module built by f2py has a __version__ attribute which is always
'$Revision: $' (CVS way ?)
Could the setup version attribute be used by f2py to set the extension
module version ?
Example :=20
setup(name=3D"foo", version=3D"1.0", ...)
will generate a foo module that gives :
$python
>>> import foo
>>> print foo.__version__
$Revision: 1.0$
Does this make sense or am I wrong ?
I would like that some pure modules can check versions of extension
modules they load...
Thanks
--=20
=20
Lionel MAZI=C8RE
R&D Engineer Algory
maziere@algory.com http://www.algory.com