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

Fails on Windows: ModuleNotFoundError: No module named 'pwd' #126

Open
jayvdb opened this issue Oct 1, 2019 · 7 comments
Open

Fails on Windows: ModuleNotFoundError: No module named 'pwd' #126

jayvdb opened this issue Oct 1, 2019 · 7 comments

Comments

@jayvdb
Copy link

jayvdb commented Oct 1, 2019

pwd is needed for a user_name field.

I guess a Windows implementation could be created, but maybe a warning will suffice?

@toabctl
Copy link
Member

toabctl commented Oct 7, 2019

Do we really need to support windows? I don't see a usecase to do rpm packaging on windows tbh...

@jayvdb
Copy link
Author

jayvdb commented Oct 7, 2019

MinGW runs on Windows, and there are quite a few packages which are 'Windows' only. I would approach this more as degrading gracefully rather than supporting Windows

@toabctl
Copy link
Member

toabctl commented Oct 7, 2019

Why do we need to package stuff that is windows-only? I still don't understand the problem here.

@jayvdb
Copy link
Author

jayvdb commented Oct 7, 2019

@toabctl
Copy link
Member

toabctl commented Oct 7, 2019

https://build.opensuse.org/project/show/windows:mingw

ok. How is that related to py2pack?

@mcepl
Copy link
Contributor

mcepl commented Oct 8, 2019

Well, I guess, patches welcome? How do you find out the current users name in Windows?

@zveljkovic
Copy link

echo %USERNAME% i think

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

No branches or pull requests

4 participants