zakird / pyad

Python Active Directory Tools | *Not actively maintained*
http://zakird.github.io/pyad/
176 stars 72 forks source link

Unicode handling in setup.py breaks in Python3 #58

Open bmcguirk opened 8 years ago

bmcguirk commented 8 years ago

Per this conversation, https://github.com/conda/conda-build/issues/1263#issuecomment-242800845 , the read alias in setup.py (line 7) doesn't do any unicode handling, which becomes a problem in Python 3 and (in my case) trying to build pyad under conda.

spyoungtech commented 8 years ago

This looks like a problem with the egg on PyPI -- I had the exact same problem trying to use PIP to install.

I was able to install pyad on Python 3.5 by downloading and using via python setup.py install instead of trying to use PyPI which only has an egg for Python2 build - setup.py worked flawlessly for me after taking PyPI out of the picture.

Ideally, PyPI should be updated, but it's not really a problem with setup.py - This should also be the same for Anaconda.