seanbreckenridge / reorder_editable

Naive implementation to reorder my easy-install.pth file, to manage editable namespace packages
https://pypi.org/project/reorder-editable/
MIT License
3 stars 1 forks source link

use site module #1

Closed seanbreckenridge closed 3 years ago

seanbreckenridge commented 3 years ago

Use https://docs.python.org/3/library/site.html#site.getusersitepackages to see if thats better than computing the absolute path?

only issue is may run into issues in venvs, need to test

seanbreckenridge commented 3 years ago

works properly in venvs, added in https://github.com/seanbreckenridge/reorder_editable/commit/1a56edd926c1cf0aabc7f1bf2cb286dad1f17991