astropy/astropy — pull request #355 by astrofrog (2012-08-22 15:03:31+00:00)
Title: Updated distribute_setup.py

Astropy doesn't work with Python 3.3 yet, because Numpy isn't compatible. However, even before reaching the stage of importing Numpy, I got an error when I tried to build:

error: invalid command 'bdist_egg'
/Volumes/Raptor/dropbox/code/development/Astropy/astropy/distribute-0.6.19-py3.3.egg
Traceback (most recent call last):
File "/Volumes/Raptor/dropbox/code/development/Astropy/astropy/distribute_setup.py", line 139, in use_setuptools
import pkg_resources
ImportError: No module named 'pkg_resources'

so I updated distribute_setup.py from http://python-distribute.org - is that the right place to get it from? With this update, the setup then fails when importing Numpy, which is fine for now. I would just rather increase our changes of Astropy 0.2 being compatible with Python 3.3 out of the box once Numpy becomes compatible!

I'm going to run this on the staging branch to check it doesn't affect current versions