diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index b7e69a3..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -include LICENSE -include README.rst -include CHANGELOG.rst diff --git a/README.rst b/README.rst index 4cc2cc6..34c4c93 100644 --- a/README.rst +++ b/README.rst @@ -43,7 +43,7 @@ Or if you want to install directly from the repository: .. code-block:: console - $ python setup.py install + $ pip install . Usage ===== diff --git a/pyproject.toml b/pyproject.toml index f619fc4..ffcd4c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -build-backend = "setuptools.build_meta" -requires = [ "setuptools" ] +build-backend = "hatchling.build" +requires = [ "hatchling" ] [project] name = "pysolr" @@ -35,9 +35,8 @@ dev = [ "pre-commit>=4.4", ] -[tool.setuptools] -py-modules = [ "pysolr" ] -include-package-data = false +[tool.hatch.build.targets.sdist] +exclude = [ ".github" ] [tool.ruff] lint.select = [