Move GUI dependencies to setup.py extra #416
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I wanted to install Syncplay with pip to make use of the syncplay-server entry point. However, when I did, I noticed that setup.py pulls in PySide2 as
install_requires
unconditionally, making that avenue of install undesirable when I only want to run the server in that specific environment. Therefore, I have moved PySide2 to a newgui
extra in setup.py, so Syncplay can be install by pip without pulling it in.I have updated the AppImage build script to account for this change, but I haven't been able to find if the installation as a package is used anywhere else. While I did verify that the AppImage still works with the updated build script, I was unable to test the other platforms as I don't have machines for those available right now.