busimus / cutelog

GUI for logging
MIT License
479 stars 45 forks source link

Feature request: Add extras_require for pyqt and pyside #15

Open cdgriffith opened 3 years ago

cdgriffith commented 3 years ago

It would be nice to be able to do an install like pip install cutelog[pyqt5] and have it also install the qt libraries. This would come in handy in cases like when you want to use it as a standalone app via pipx where it is not as easy to install additional requirements in that venv yourself.

They are fairley easy to add to setup.py, i.e.:

    extras_require={
        "pyqt5":  ["pyqt5"]
    }

It also wouldn't change any current usage, as it will still support pip install cutelog without any of those included.

https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies