Add astor to install_requires.

`hy --spy` fails on hy 0.9.11.

    $ hy --spy
    hy 0.9.11
    => (type "hy")
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/hy/cmdline.py", line 68, in print_python_code
        import astor.codegen
    ImportError: No module named astor.codegen
This commit is contained in:
Berker Peksag 2013-11-16 00:19:18 +02:00
parent 8970662dcb
commit 870c136469
2 changed files with 1 additions and 6 deletions

View File

@ -45,7 +45,7 @@ long_description = """Hy is a Python <--> Lisp layer. It helps
make things work nicer, and lets Python and the Hy lisp variant play
nice together. """
install_requires = ['rply>=0.7.0']
install_requires = ['rply>=0.7.0', 'astor>=0.3']
if sys.version_info[:2] < (2, 7):
install_requires.append('argparse>=1.2.1')
install_requires.append('importlib>=1.0.2')

View File

@ -22,7 +22,6 @@
# DEALINGS IN THE SOFTWARE.
import os
import subprocess
import sys
def run_cmd(cmd, stdin_data=None):
@ -116,10 +115,6 @@ def test_bin_hyc_missing_file():
def test_hy2py():
# XXX Astor doesn't seem to support Python3 :(
if sys.version_info[0] == 3:
return
# and running this script this way doesn't work on Windows
if os.name == "nt":
return