-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* enable editable mode via pyproject.toml * fix issue #545 migrate to pyproject.toml * fix license field and fix min python version * Remove version from apispec.yaml * remove gramps_webpi/_version.py from git cache --------- Co-authored-by: David Straub <[email protected]>
- Loading branch information
1 parent
df1e6d2
commit 9085f1e
Showing
8 changed files
with
78 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-isort | ||
rev: v5.4.2 | ||
rev: v5.10.1 | ||
hooks: | ||
- id: isort | ||
args: ["--profile", "black"] | ||
- repo: https://github.com/psf/black | ||
rev: 22.8.0 | ||
rev: 24.8.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.782 | ||
rev: v1.11.2 | ||
hooks: | ||
- id: mypy | ||
args: [--ignore-missing-imports] | ||
- repo: https://github.com/PyCQA/pylint | ||
rev: pylint-2.5.3 | ||
rev: v3.2.7 | ||
hooks: | ||
- id: pylint | ||
stages: [commit] | ||
args: | ||
- --score=n | ||
- repo: https://github.com/PyCQA/pydocstyle | ||
rev: 5.0.2 | ||
rev: 6.3.0 | ||
hooks: | ||
- id: pydocstyle | ||
stages: [commit] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[project] | ||
name = "gramps-webapi" | ||
description = "A RESTful web API for the Gramps genealogical database." | ||
authors = [ | ||
{ name = "Gramps Development Team" }, | ||
{ name = "David M. Straub", email = "[email protected]" } | ||
] | ||
license = { text = "AGPL-3.0-or-later" } | ||
readme = "README.md" | ||
dynamic = ["version"] | ||
keywords = ["RESTful", "web API", "genealogy", "Gramps"] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", | ||
"Operating System :: OS Independent", | ||
] | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"gramps-desktop[GUI,i18n]==5.2.*", | ||
"Click>=7.0", | ||
"Flask>=2.1.0", | ||
"Flask-Caching>=2.0.0", | ||
"Flask-Compress", | ||
"Flask-Cors", | ||
"Flask-JWT-Extended>=4.2.1,!=4.4.0,!=4.4.1", | ||
"Flask-Limiter>=2.9.0", | ||
"Flask-SQLAlchemy", | ||
"marshmallow>=3.13.0", | ||
"webargs", | ||
"SQLAlchemy", | ||
"pdf2image", | ||
"Pillow", | ||
"bleach[css]>=5.0.0", | ||
"jsonschema", | ||
"ffmpeg-python", | ||
"boto3", | ||
"alembic", | ||
"celery[redis]", | ||
"Unidecode", | ||
"pytesseract", | ||
"gramps-ql>=0.3.0", | ||
"sifts>=0.8.3", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/gramps-project/gramps-web-api" | ||
repository = "https://github.com/gramps-project/gramps-web-api" | ||
|
||
|
||
[build-system] | ||
requires = ["setuptools>=64.0", "setuptools_scm[toml]>=6.2", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.setuptools_scm] | ||
# NOTE: Using a version file avoids some overhead | ||
# | ||
# This file is explicitly ignored by version control. | ||
write_to = "gramps_webapi/_version.py" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["gramps_webapi", "gramps_webapi.*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.