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

Py_SetProgramName tweak to find python lib dir #205

Closed

Conversation

pmolodo
Copy link
Contributor

@pmolodo pmolodo commented Apr 20, 2017

Description of Change(s)

This fixes some errors with using the embedded python interpretter (ie, pyInterpretter.cpp). Specfically, it fixes issues with finding the python standard library dir.

Included Commit(s)

Fixes Issue(s)

  • Fixes some test failures

Py_SetProgramName is used both as a hint for finding the python lib dir, and
setting sys.executable - this changes makes both uses possible
@pmolodo pmolodo force-pushed the fix_py_setprogramname branch from c9c9250 to e1f9a76 Compare April 21, 2017 02:11
@pmolodo pmolodo changed the title Py_SetProgramName should be set to the python executable Py_SetProgramName tweak to find python lib dir Apr 27, 2017
@jtran56
Copy link

jtran56 commented Jun 2, 2017

Filed as internal issue #147135.

@pmolodo
Copy link
Contributor Author

pmolodo commented Dec 6, 2017

Closing this, because as long as the python executable has properly had it's own exec_prefix "baked in", this shouldn't matter... and it's pretty hacky

@pmolodo pmolodo closed this Dec 6, 2017
AdamFelt pushed a commit to autodesk-forks/USD that referenced this pull request Apr 16, 2024
Description of Change(s)
add support for curve segment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants