Skip to content

Commit

Permalink
fix pyproject to be PEP621 compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuDartiailh committed Mar 28, 2022
1 parent 977b04e commit 503a878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic=["version"]


[project.urls]
Expand All @@ -39,7 +40,7 @@ changelog = "https://github.com/nucleic/kiwi/blob/main/releasenotes.rst"


[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.3", "cppy>=1.2.0"]
requires = ["setuptools>=61.2", "wheel", "setuptools_scm[toml]>=3.4.3", "cppy>=1.2.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
Expand Down
28 changes: 0 additions & 28 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,34 +44,6 @@


setup(
# FIXME remove once setuptool supports PEP 621
name="kiwisolver",
author="The Nucleic Development Team",
author_email="sccolbert@gmail.com",
url="https://github.com/nucleic/kiwi",
description="A fast implementation of the Cassowary constraint solver",
long_description=open("README.rst").read(),
license="BSD",
classifiers=[
# https://pypi.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
python_requires=">=3.7",
# FIXME end of remove once setuptool supports PEP 621
setup_requires=[
"setuptools>=42",
"wheel",
"setuptools_scm[toml]>=3.4.3",
"cppy>=1.2.0",
],
package_dir={"": "py"},
packages=["kiwisolver"],
install_requires=["typing_extensions;python_version<'3.8'"],
Expand Down

0 comments on commit 503a878

Please sign in to comment.