-
Notifications
You must be signed in to change notification settings - Fork 807
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
The win32com.gen_py directory now defaults to under site.getusersitepackages #1675
base: main
Are you sure you want to change the base?
Conversation
Just had a quick look so far, didn't test or fully overlook the further effects (only little time ATM for some days) : The |
Yeah, the user has to live with the error, which I think is OK. It's not clear that only handling explicit "no permission" errors would catch everything that might happen, and certainly catching all write errors isn't going to do the right thing. We can always adjust if we get feedback that it should be further improved. |
So far it was possible to pre-freeze / zip and use typelibs like this, to avoid / limit code generations at binary user site, 1 . Is this still possible? 2. while other generations still can happen principally? |
I think so - I haven't actually prevented any of the "old" schemes working, just changed the new default which is only used if the previously supported schemes don't exist.
Sorry, but I don't understand this question. |
c5e0040
to
b7b46f1
Compare
The When there is an existing win32com/gen_py detected in admin-only-write install location, and python run as simple user does the current method still fail when new gen's have to be written.? Maybe a way to get all these and other potential problems solved: When win32com.gen_py becomes simply an ordinary installed package ( |
(fixes #1666)
@kxrob WDYT?