Make PySide dependencies optional
This commit is contained in:
parent
36e644a736
commit
d806cbe6f3
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
|||||||
MIT License Copyright (c) 2020 Faerbit
|
MIT License Copyright (c) 2020 - 2021 Faerbit
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
16
README.md
16
README.md
@ -2,7 +2,21 @@
|
|||||||
|
|
||||||
Simple time tracking app written with Python and Qt5
|
Simple time tracking app written with Python and Qt5
|
||||||
|
|
||||||
Some JIRA integration is available.
|
Some Jira integration is built in.
|
||||||
|
|
||||||
|
## Installation, Qt versions and You
|
||||||
|
Fime supports using both Qt 5 and Qt 6 via their respective PySide packages.
|
||||||
|
|
||||||
|
On Linux I recommend installing the PySide package provided by the distribution.
|
||||||
|
Install `PySide2` for Qt 5 or `PySide6` for Qt 6.
|
||||||
|
|
||||||
|
Run `pip install --user fime` in that case.
|
||||||
|
|
||||||
|
On other OSes or if you decide not to follow my recommendation run either
|
||||||
|
* `pip install --user fime[qt5]` or
|
||||||
|
* `pip install --user fime[qt6]`
|
||||||
|
|
||||||
|
Note that it both versions of PySide are installed Qt 6 will be preferred.
|
||||||
|
|
||||||
## Config file
|
## Config file
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ author_email = faerbit@posteo.net
|
|||||||
description = Simple time tracking app written with Python and Qt5
|
description = Simple time tracking app written with Python and Qt5
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
|
license = MIT License
|
||||||
url = https://git.faerb.it/faerbit/fime
|
url = https://git.faerb.it/faerbit/fime
|
||||||
classifiers =
|
classifiers =
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
@ -12,6 +13,7 @@ classifiers =
|
|||||||
Operating System :: OS Independent
|
Operating System :: OS Independent
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
|
zip_safe = True
|
||||||
package_dir =
|
package_dir =
|
||||||
= src
|
= src
|
||||||
packages = find:
|
packages = find:
|
||||||
@ -19,11 +21,14 @@ python_requires = >=3.8
|
|||||||
install_requires =
|
install_requires =
|
||||||
requests
|
requests
|
||||||
requests-futures
|
requests-futures
|
||||||
PySide2
|
|
||||||
|
|
||||||
[options.packages.find]
|
[options.packages.find]
|
||||||
where = src
|
where = src
|
||||||
|
|
||||||
|
[options.extras_require]
|
||||||
|
qt5 = PySide2
|
||||||
|
qt6 = PySide6
|
||||||
|
|
||||||
[options.entry_points]
|
[options.entry_points]
|
||||||
gui_scripts =
|
gui_scripts =
|
||||||
fime = fime.main:main
|
fime = fime.main:main
|
||||||
|
Loading…
Reference in New Issue
Block a user