astropy/astropy — Issue #54: no module named version in setup.py
Author: wkerzendorf
Created: 2011-11-07 16:20:44+00:00
State: open

Hi Guys,

I fetched from upstream (just now) and it seemed to have started out in the right direction, but then met an unfortunate end:
------
python setup.py develop
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.19.tar.gz
Extracting in /var/folders/zc/cbprg2bj1l50c3y6sfzf64wm0000gn/T/tmpXuKWeL
Now working in /var/folders/zc/cbprg2bj1l50c3y6sfzf64wm0000gn/T/tmpXuKWeL/distribute-0.6.19
Building a Distribute egg in /Users/wkerzend/scripts/python/astropy
/Users/wkerzend/scripts/python/astropy/distribute-0.6.19-py2.7.egg
Traceback (most recent call last):
File "setup.py", line 13, in
import astropy
File "/Users/wkerzend/scripts/python/astropy/astropy/__init__.py", line 3, in
from astropy.version import version as __version__
ImportError: No module named version

-----

I have never tried python setup.py develop before but I heard it somehow sets the package path so I can continue to developing while my astropy is in its place.

Cheers
Wolfgang