Skip to content
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
4 changes: 0 additions & 4 deletions MANIFEST.in

This file was deleted.

49 changes: 49 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.27.0"]

[project]
name = "cssselect"
license = "BSD-3-Clause"
license-files = ["LICENSE", "AUTHORS"]
description = "cssselect parses CSS3 Selectors and translates them to XPath 1.0"
readme = "README.rst"
authors = [{ name = "Ian Bicking", email = "[email protected]" }]
maintainers = [{ name = "Paul Tremberth", email = "[email protected]" }]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]

[project.urls]
"Homepage" = "https://github.com/scrapy/cssselect"

[tool.hatch.version]
path = "cssselect/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"/cssselect",
"/docs",
"/tests",
"/CHANGES",
"/README.rst",
"/tox.ini",
]
exclude = [
"/docs/_build",
]

[tool.hatch.build.targets.wheel]
packages = ["cssselect"]

[tool.bumpversion]
current_version = "1.3.0"
commit = true
Expand Down
43 changes: 0 additions & 43 deletions setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ deps =
{[testenv]deps}
pylint==3.3.5
commands =
pylint {posargs: cssselect setup.py tests docs}
pylint {posargs: cssselect tests docs}

[testenv:docs]
changedir = docs
Expand Down