Skip to content

Commit ada7527

Browse files
authored
Merge pull request #528 from DhavalGojiya/feat/hatchling-build-backend
feat: Migrate from Setuptools to Hatchling as the build backend
2 parents 5bd6dec + 7b7b529 commit ada7527

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

MANIFEST.in

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Or if you want to install directly from the repository:
4343

4444
.. code-block:: console
4545
46-
$ python setup.py install
46+
$ pip install .
4747
4848
Usage
4949
=====

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
build-backend = "setuptools.build_meta"
3-
requires = [ "setuptools" ]
2+
build-backend = "hatchling.build"
3+
requires = [ "hatchling" ]
44

55
[project]
66
name = "pysolr"
@@ -35,9 +35,8 @@ dev = [
3535
"pre-commit>=4.4",
3636
]
3737

38-
[tool.setuptools]
39-
py-modules = [ "pysolr" ]
40-
include-package-data = false
38+
[tool.hatch.build.targets.sdist]
39+
exclude = [ ".github" ]
4140

4241
[tool.ruff]
4342
lint.select = [

0 commit comments

Comments
 (0)