forked from Ryochan7/sc-controller
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate most of the project to pyproject.toml
- Loading branch information
Showing
2 changed files
with
56 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,49 @@ | ||
[build-system] | ||
requires = ["setuptools>=60", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "sccontroller" | ||
version = "0.4.9.3" # Replace with DAEMON_VERSION or vice versa? | ||
description = "User-mode driver, mapper and GTK3 based GUI for Steam Controller, DS4 and similar controllers." | ||
authors = [{name = "C0rn3j", email = "[email protected]"}] | ||
license = {text = "GPL-2.0-only"} | ||
keywords = ["controller", "mapping", "tools"] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)", | ||
"Operating System :: POSIX :: Linux" | ||
] | ||
requires-python = ">=3.8" | ||
#platforms = ["Linux"] | ||
|
||
[tool.setuptools] | ||
packages = [ | ||
"scc", | ||
"scc.drivers", | ||
"scc.lib", | ||
"scc.x11", | ||
"scc.osd", | ||
"scc.foreign", | ||
"scc.gui", | ||
"scc.gui.ae", | ||
"scc.gui.importexport", | ||
"scc.gui.creg" | ||
] | ||
|
||
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#creating-executable-scripts | ||
[project.scripts] | ||
scc-daemon = "scripts.scc_daemon" | ||
sc-controller = "scripts.sc_controller" | ||
scc = "scripts.scc" | ||
scc-osd-dialog = "scripts.scc_osd_dialog" | ||
scc-osd-keyboard = "scripts.scc_osd_keyboard" | ||
scc-osd-launcher = "scripts.scc_osd_launcher" | ||
scc-osd-menu = "scripts.scc_osd_menu" | ||
scc-osd-message = "scripts.scc_osd_message" | ||
scc-osd-radial-menu = "scripts.scc_osd_radial_menu" | ||
scc-osd-show-bindings = "scripts.scc_osd_show_bindings" | ||
|
||
[tool.ruff] | ||
# Target non-EOL releases at minimum, or later if needed | ||
# https://devguide.python.org/versions/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters