2022-05-05 19:47:58 +12:00
|
|
|
[tool.black]
|
2023-03-11 23:13:44 +13:00
|
|
|
line-length = 120
|
2022-12-09 09:33:31 +13:00
|
|
|
target-version = ['py39', 'py310', 'py311']
|
2022-05-05 19:47:58 +12:00
|
|
|
include = '\.py$'
|
|
|
|
force-exclude = '''
|
|
|
|
/(
|
|
|
|
| rare/ui
|
|
|
|
| rare/legendary
|
|
|
|
| rare/resources
|
|
|
|
)/
|
|
|
|
'''
|
2022-07-02 00:31:09 +12:00
|
|
|
|
|
|
|
[tool.poetry]
|
|
|
|
name = "rare"
|
2023-12-20 22:24:01 +13:00
|
|
|
version = "1.10.11"
|
2022-07-02 00:31:09 +12:00
|
|
|
description = "A GUI for Legendary"
|
|
|
|
authors = ["Dummerle"]
|
|
|
|
license = "GPL3"
|
|
|
|
readme = "README.md"
|
2023-12-07 03:18:58 +13:00
|
|
|
repository = "https://github.com/RareDevs/Rare"
|
2022-07-02 00:31:09 +12:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2022-11-07 08:06:46 +13:00
|
|
|
python = "^3.9"
|
2022-07-02 00:31:09 +12:00
|
|
|
PyQt5 = "^5.15.7"
|
|
|
|
requests = "^2.28.1"
|
|
|
|
QtAwesome = "^1.1.1"
|
2022-08-27 23:43:55 +12:00
|
|
|
pypresence = { version = "^4.2.1", optional = true }
|
|
|
|
pywin32 = { version = "^304", markers = "platform_system == 'Windows'" }
|
|
|
|
pywebview = [
|
|
|
|
{ version = "^3.6.3", extras = ["cef"], platform = "windows", optional = true },
|
|
|
|
{ version = "^3.6.3", extras = ["gtk"], platform = "linux", optional = true },
|
2023-07-17 05:40:25 +12:00
|
|
|
{ version = "^3.6.3", extras = ["gtk"], platform = "freebsd", optional = true },
|
2022-08-27 23:43:55 +12:00
|
|
|
]
|
2023-12-10 23:13:57 +13:00
|
|
|
legendary-gl = "^0.20.34"
|
2023-12-06 21:39:09 +13:00
|
|
|
orjson = "^3.8.0"
|
2024-06-05 02:26:35 +12:00
|
|
|
vdf = "^4.3"
|
2022-08-27 23:43:55 +12:00
|
|
|
|
2022-07-02 00:31:09 +12:00
|
|
|
[tool.poetry.scripts]
|
2023-09-03 07:23:36 +12:00
|
|
|
start = "rare.main:main"
|
2022-07-02 00:31:09 +12:00
|
|
|
|
2022-08-27 23:43:55 +12:00
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
Nuitka = "^1.0.6"
|
|
|
|
pylint = "^2.15.0"
|
|
|
|
black = "^22.6.0"
|
2022-09-20 09:07:28 +12:00
|
|
|
PyQt5-stubs = "^5.15.6.0"
|
2022-08-18 11:24:51 +12:00
|
|
|
|
2022-09-06 08:46:06 +12:00
|
|
|
#[build-system]
|
2022-09-10 09:49:17 +12:00
|
|
|
#requires = ["setuptools>=42", "wheel", "nuitka", "toml"]
|
2022-09-06 08:46:06 +12:00
|
|
|
#build-backend = "nuitka.distutils.Build"
|
2022-08-18 11:24:51 +12:00
|
|
|
|
|
|
|
[nuitka]
|
2022-09-10 09:49:17 +12:00
|
|
|
assume-yes-for-downloads = true
|
|
|
|
follow-imports = true
|
|
|
|
prefer-source-code = true
|
|
|
|
mingw64 = true
|
|
|
|
lto = true
|
|
|
|
static-libpython = false
|
|
|
|
standalone = true
|
|
|
|
show-scons = false
|
|
|
|
enable-plugin = ["anti-bloat", "pyqt5"]
|
2022-08-18 11:24:51 +12:00
|
|
|
show-anti-bloat-changes = true
|
|
|
|
nofollow-import-to = ["*.tests", "*.distutils"]
|
2022-09-10 09:49:17 +12:00
|
|
|
include-package-data = "qtawesome"
|
|
|
|
include-data-dir = "rare/resources/images=rare/resources/images"
|
|
|
|
include-data-files = "rare/resources/languages=rare/resources/laguanges=*.qm"
|
|
|
|
windows-icon-from-ico = "rare/resources/images/Rare.ico"
|
|
|
|
windows-company-name = "Rare"
|
|
|
|
windows-product-name = "Rare"
|
|
|
|
windows-file-version = "1.9.0"
|
|
|
|
windows-product-version = "1.9.0"
|
|
|
|
windows-disable-console = true
|