Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: missing explicit dependency on "six" package #465

Closed
kpdyer opened this issue May 16, 2014 · 1 comment · Fixed by #521 or #527
Closed

Python: missing explicit dependency on "six" package #465

kpdyer opened this issue May 16, 2014 · 1 comment · Fixed by #521 or #527

Comments

@kpdyer
Copy link

kpdyer commented May 16, 2014

Platform: OSX 10.9, pip: 1.5.5, js-beautify: 1.5.1

It appears that "six" is not explicitly listed as a dependency in setup.py.

$ sudo pip install jsbeautifier
Downloading/unpacking jsbeautifier
  Downloading jsbeautifier-1.5.1.tar.gz
  Running setup.py (path:/private/tmp/pip_build_root/jsbeautifier/setup.py) egg_info for package jsbeautifier
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/private/tmp/pip_build_root/jsbeautifier/setup.py", line 4, in <module>
        from jsbeautifier.__version__ import __version__
      File "jsbeautifier/__init__.py", line 8, in <module>
        import six
    ImportError: No module named six
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/private/tmp/pip_build_root/jsbeautifier/setup.py", line 4, in <module>

    from jsbeautifier.__version__ import __version__

  File "jsbeautifier/__init__.py", line 8, in <module>

    import six

Temporary workaround:

pip install six
@bitwiseman bitwiseman added the bug label May 16, 2014
@bitwiseman bitwiseman added this to the v1.5.2 milestone May 16, 2014
@client9
Copy link

client9 commented Aug 14, 2014

still an issue

bitwiseman added a commit that referenced this issue Sep 11, 2014
Remove pthon/six.py and add pip dependency install to build and test.

Fixes #465
bitwiseman added a commit to bitwiseman/js-beautify that referenced this issue Sep 15, 2014
Remove pthon/six.py and add pip dependency install to build and test.

Fixes beautifier#465
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants