Skip to content

Switch setup.py/.cfg to pyproject.toml, add docs link/readme #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
46 changes: 46 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "FreeSimpleGUI"
version = "5.2.0"
description = "The free-forever Python GUI framework."
readme = {file = "README.md", content-type = "text/markdown"}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the original setup.cfg, I believe this was a typo. Probably why the description doesn't show on PyPI. Let's correct it here.

Suggested change
readme = {file = "README.md", content-type = "text/markdown"}
readme = {file = "readme.md", content-type = "text/markdown"}

Alternatively, we can rename readme.md to README.md.

license = {file = "license.txt" }
authors = [
{name = "Spencer Phillip Young", email = "spencer.young@spyoung.com"}
]
maintainers = [
{name = "Spencer Phillip Young", email = "spencer.young@spyoung.com"}
]
keywords = ["PySimpleGui", "fork", "GUI", "UI", "tkinter", "Qt", "WxPython", "Remi", "wrapper", "simple", "easy", "beginner", "novice", "student", "graphics", "progressbar", "progressmeter"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Topic :: Multimedia :: Graphics",
"Operating System :: OS Independent",
]

[project.urls]
# Homepage = "https://freesimplegui.org/" # TODO: Enable this once registered.
Repository = "https://github.com/spyoungtech/FreeSimpleGui"
Documentation = "https://freesimplegui.readthedocs.io/en/latest/"


[tool.setuptools]
packages = ["FreeSimpleGUI", "FreeSimpleGUI.elements"]
include-package-data = true

[project.scripts]
fsgissue = "FreeSimpleGUI:main_open_github_issue"
fsgmain = "FreeSimpleGUI:_main_entry_point"
fsghelp = "FreeSimpleGUI:main_sdk_help"
fsgver = "FreeSimpleGUI:main_get_debug_data"
fsgsettings = "FreeSimpleGUI:main_global_pysimplegui_settings"
35 changes: 0 additions & 35 deletions setup.cfg

This file was deleted.

2 changes: 0 additions & 2 deletions setup.py

This file was deleted.