thegooglecodearchive / healpy

Automatically exported from code.google.com/p/healpy
GNU General Public License v2.0
0 stars 0 forks source link

healpy/version.py does ont work for me #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When running "python setup.py build, I get the output

Using Healpix configuration "healpy" for system "linux"
Compiling healpix_cxx (this may take a while)
Traceback (most recent call last):
  File "setup.py", line 109, in <module>
    version=get_version(),
  File "setup.py", line 41, in get_version
    raise ValueError('Error getting revision number from '
ValueError: Error getting revision number from healpy/version.py

The problem is somewhere in the lines

if revnumber:
    __version__='trunk-r%s' % revnumber[0]
else:
    __version__='github-devel'

If I replace them by "__version__= revnumber", there is no exception.

Original issue reported on code.google.com by martin.r...@gmx.de on 5 Nov 2010 at 12:05

GoogleCodeExporter commented 9 years ago
corrected in revision 137

Original comment by cyrille....@gmail.com on 5 Nov 2010 at 1:55