Skip to content

Conversation

@paulgeringer
Copy link

@paulgeringer paulgeringer commented Sep 27, 2025

This should allow the project to continue working past the deprecation of python setup.py.

Build process would be:

python -m build

instead of python setup.py with this change.

Not 100% sure this is really necessary, but at least it gets the framework in place if this seems valuable.

@pfirsich
Copy link
Owner

pfirsich commented Oct 5, 2025

For #48 I already started a pyproject.toml. This is what I had:

[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
include = ["makelove"]

[project]
name = "makelove"
version = "0.0.14"
dependencies = [
  "Pillow>=7.0",
  "appdirs>=1.4.3",
  "toml>=0.10"
]
requires-python = ">=3.7"
authors = [
  {name = "Joel Schumacher", email = "joelschum@gmail.com"},
  {name = "Josh Perry", email = "joshperry@outlook.com"},
]
maintainers = [
  {name = "Joel Schumacher", email = "joelschum@gmail.com"},
  {name = "Josh Perry", email = "joshperry@outlook.com"},
]
description = "A packaging tool for [löve](https://love2d.org) games"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
  "Programming Language :: Python :: 3",
  "Operating System :: OS Independent",
  "Topic :: Software Development :: Build Tools",
  "Topic :: Games/Entertainment :: Build Tools",
]

[project.urls]
Repository = "https://github.com/pfirsich/makelove"

[project.scripts]
makelove = "makelove:main"

I think I ran into a problem when verifying that you could still install makelove on all relevant platforms with their default Python versions (Windows, Ubuntu, Fedora, Pop-OS - which is what I use) and there was some issue. It turned out to be a multi-evening thing (even though I started thinking it would just be a few hours), so I dropped it.

If you can list out the Python versions being used (ideally with links so I can verify) and make sure it still cleanly installs on all relevant platforms, I could merge some combined version of our pyproject.tomls. Also please remove the empty files or at least put them in a different commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants