-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Implement Linux support #216
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #216 +/- ##
==========================================
- Coverage 77.43% 77.10% -0.34%
==========================================
Files 17 17
Lines 3173 3197 +24
==========================================
+ Hits 2457 2465 +8
- Misses 716 732 +16
Continue to review full report at Codecov.
|
requirements.txt
Outdated
vdf==3.4 | ||
unixreg; sys_platform != 'win32' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If having another external dependency is undesirable its possible to include the code in this repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fine if it's not big
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For reference
the source code of unixreg is available on PyPi and Github
https://pypi.org/project/unixreg/
https://github.com/Jan200101/unixreg
Yo this is amazing! I'd love to help see this through. I know absolutely nothing about releasing on Linux so you'd have to help me a bit with that, but I'd maintain a Linux build for sure |
bacf482
to
e98af8b
Compare
- disable building on Linux (TODO) - add winreg compatibility layer to allow reusing existing code without having to write an new system - replace ctypes usage available python replacement - gate windows logic behind os.name == "nt" checks (TODO compare how this behaves on cygwin and msys) - update hl2 linux executable name to use the script instead - replace hardcoded usage of "*.exe" with indexing of the executables list
Nice! |
late followup to #55
closes #43
Things to implement before this can be merged: