From a71bb1fe91eee323f0de62dc07cdc8ca7e477e02 Mon Sep 17 00:00:00 2001 From: Dummerle <44114474+Dummerle@users.noreply.github.com> Date: Sat, 27 Aug 2022 13:43:55 +0200 Subject: [PATCH] Add missing dependencies to pyproject.toml --- pyproject.toml | 22 ++++++++++++++++------ rare/__main__.py | 4 ---- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1e6c7a5f..e665c619 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,22 +25,32 @@ PyQt5 = "^5.15.7" requests = "^2.28.1" QtAwesome = "^1.1.1" psutil = "^5.9.1" -pypresence = {version="^4.2.1", optional = true} -pywin32 = {version = "^304", markers = "platform_system == 'Windows'"} +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 }, +] +legendary-gl = "^0.20.27" + [tool.poetry.scripts] start = "rare.__main__:main" -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" + + +[tool.poetry.dev-dependencies] +Nuitka = "^1.0.6" +pylint = "^2.15.0" +black = "^22.6.0" [build-system] requires = ["setuptools>=42", "wheel", "nuitka", "toml"] build-backend = "nuitka.distutils.Build" + [nuitka] show-scons = true -enable-plugin = pyqt5,anti-bloat +enable-plugin = ["pyqt5", "anti-bloat"] show-anti-bloat-changes = true nofollow-import-to = ["*.tests", "*.distutils"] diff --git a/rare/__main__.py b/rare/__main__.py index c510ed8d..fb84f876 100644 --- a/rare/__main__.py +++ b/rare/__main__.py @@ -1,8 +1,4 @@ -#!/usr/bin/python -import argparse import os -import pathlib -import sys from argparse import ArgumentParser