markdown-slides
markdown-slides copied to clipboard
newer versions of python want a pyproject.toml
I assume it would be something like this:
[tool.poetry]
name = "mdslides"
version = "1.6.0"
description = "Write modern slides with markdown."
license = "MIT"
authors = [
"Leo <[email protected]>",
]
repository = "https://github.com/dadoomer/markdown-slides"
packages = [
{ include = "mdslides" },
]
[tool.poetry.scripts]
mdslides = 'mdslides=mdslides.__main__:main'
Not sure. tools.poetry - python is strange at times.
No explicit need for Poetry, though. The file (that would replace setup.py, btw) could look like this:
[build-system]
requires = ["setuptools>=63"]
build-backend = "setuptools.build_meta"
[project]
name = "mdslides"
version = "1.6.0"
description = "Write modern slides with markdown."
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{name = "Leo", email = "[email protected]"},
]
requires-python = ">=3.8"
[project.scripts]
mdslides = "mdslides.__main__:main"
[project.urls]
homepage = "https://gitlab.com/da_doomer/markdown-slides"
[tool.setuptools.packages.find]
namespaces = false
# some more magic here for including `mdslidesdata`
# see https://github.com/dadoomer/markdown-slides/blob/master/setup.py#L7-L12
This is a great idea. I'll approve any pull request that adds the pyproject.toml or add it later this week.