astropy/astropy — Issue #170: problem with affiliate package setup.py
Author: wkerzendorf
Created: 2012-02-13 05:45:02+00:00
State: open

Hi guys,

I tried the following today with https://github.com/wkerzendorf/specutils/blob/master/setup.py and this happened. You guys probably know what's going on. If not I can debug this further.

Wolfgangs-MacBook-Pro:specutils wkerzend$ python setup.py develop
Freezing version number to specutils/version.py
Traceback (most recent call last):
File "setup.py", line 41, in
setup_helpers.get_debug_option())
File "/Users/wkerzend/scripts/python/astropy/astropy/version_helper.py", line 204, in generate_version_py
f.write(_get_version_py_str(packagename, version, release, debug))
File "/Users/wkerzend/scripts/python/astropy/astropy/version_helper.py", line 158, in _get_version_py_str
major, minor, bugfix = _version_split(version)
File "/Users/wkerzend/scripts/python/astropy/astropy/version_helper.py", line 37, in _version_split
bugfix = 0 if len(versplit) < 3 else int(versplit[2])
ValueError: invalid literal for int() with base 10: ''