-
Notifications
You must be signed in to change notification settings - Fork 48
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
Dazel + Python2 #28
Comments
Hello Tim, First of all, let me say that dazel is a binary, so you shouldn't care if it's python3 or python2. If you want to use it - just install python3 alongside with python2 on your mac, and use dazel. With that said, you're right about the shutil: We should either not use it, or define dazel as non-python2 compatible. I'm leaving this ticket open so that we'll do that at some point. BTW - The shebang line is actually irrelevant. Due to how it's defined in the setup.py file, there's actually another entrypoint created (with a different shebang line), that imports this file. So - as long as we didn't use shutil, it would've worked with python2 even with that "bad" shebang line. |
Hi, I'm running into this issue with
I do have both versions of python installed. Is there any specific configuration I should use? Otherwise, is there a workaround to the |
Uninstall dazel ( |
That worked, thanks! |
Hello! Thanks for a neat tool. Currently giving it a spin on OS-X with Python2.7.
So
dazel.py
seems to depend on Python 3 per#!/usr/bin/env python3
and usage of some Python3 functionality i.e.shutil.get_terminal_size()
. Is dazel supposed to work with python 2 at all? If no, should it be py2 compatible on Pypi?The text was updated successfully, but these errors were encountered: