dreamworksanimation / usdmanager

USD Manager
http://www.usdmanager.org
Apache License 2.0
321 stars 60 forks source link

execfile issue in setup.py #2

Closed sunilk-n closed 5 years ago

sunilk-n commented 5 years ago

When running the installation "python setup.py install" python is not recognizing the execfile command... instead I had implemented exec(open().read()) and it worked with that... Can you please update the issue

mds-dwa commented 5 years ago

What version of Python are you using? execfile was removed in Python 3, but this release of usdmanager currently only works in Python 2. It can be updated with some simple changes, which we could potentially add as a new branch, if this is needed.

sunilk-n commented 5 years ago

Ohhh thanks... I'm using Python 3.6... And of course Everyone is upgrading to 3.X in future so we will need it for 3.x

mds-dwa commented 5 years ago

There's a personal (i.e. currently unsupported/unofficial) python 3 branch available here. Since code changes are minimal, if python 3 does become a recurring request for this project, we may look into the feasibility of maintaining the current python 2 branches plus some python 3 branches.