emory-libraries / eulxml

Utilities for using XPath to map XML data to Python objects and Django forms
http://eulxml.readthedocs.org
38 stars 12 forks source link

setup.py: Dependency to six is missing #20

Closed jenisys closed 8 years ago

jenisys commented 8 years ago

VERSION: eulxml-1.0.0 CAUSED-BY: .travis.yml

By installing Django (with all its dependencies) first, you no longer know what the dependencies of the project are.

HOW TO REPEAT:

$ virtualenv .venv
$ source .venv/bin/activate
$ python setup.py install
...
installing library code to build/bdist.macosx-10.6-intel/egg
running install_lib
running build_py
Traceback (most recent call last):
  File "setup.py", line 89, in <module>
...
 File "/.../eulxml/eulxml/xpath/ast.py", line 28, in <module>
    import six
ImportError: No module named six
rlskoeser commented 8 years ago

@jenisys thanks for reporting this. I think the problem was actually in the code that generates the ply parse tables on installation; it was relying on six, but that isn't guaranteed to be available at that point.

Should be fixed in the new 1.0.1