Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: use pyproject.toml and Hatch #118

Merged
merged 1 commit into from
Aug 7, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions .isort.cfg

This file was deleted.

1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Unreleased
- **BREAKING CHANGE**: Drop support for SQLAlchemy 1.3
- Remove ``validators`` dependency
- Add support for Python 3.10 and 3.11
- Use the ``pyproject.toml`` standard to specify project metadata, dependencies and tool configuration. Use Hatch to build the project.

1.4.1 (2021-06-15)
^^^^^^^^^^^^^^^^^^
Expand Down
7 changes: 0 additions & 7 deletions MANIFEST.in

This file was deleted.

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

[project]
name = "SQLAlchemy-Searchable"
dynamic = ["version"]
description = "Provides fulltext search capabilities for declarative SQLAlchemy models."
readme = "README.rst"
license = "bsd-3-clause"
requires-python = ">=3.8"
authors = [
{ name = "Konsta Vesterinen", email = "konsta@fastmonkeys.com" },
]
classifiers = [
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"SQLAlchemy-Utils>=0.37.5",
"SQLAlchemy>=1.4,<1.5",
]

[project.urls]
Code = "https://github.com/kvesteri/sqlalchemy-searchable"
Documentation = "https://sqlalchemy-searchable.readthedocs.io/"
"Issue Tracker" = "http://github.com/kvesteri/sqlalchemy-searchable/issues"

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

[tool.hatch.build.targets.sdist]
include = [
"/CHANGES.rst",
"/docs",
"/sqlalchemy_searchable",
"/tests",
]
exclude = [
"/docs/_build",
]

[tool.isort]
known_first_party = ["sqlalchemy_searchable", "tests"]
line_length = 79
multi_line_output = 3
order_by_type = false
59 changes: 0 additions & 59 deletions setup.py

This file was deleted.