Skip to content
Snippets Groups Projects
Commit 2531162d authored by Erik Reid's avatar Erik Reid
Browse files

translated setup.py to pyproject.toml, added license spdx to metadata

parent 5323ff59
Branches develop
No related tags found
No related merge requests found
MIT License
Copyright (c) 2023-2024 GÉANT Software Development Team
\ No newline at end of file
Copyright (c) 2025 GÉANT Software Development Team
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sage-validation"
version = "0.13"
description = "Middleware tool for finance members to validate and pre-process MEO output for input into Sage"
license = "MIT"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Framework :: Django",
"Operating System :: OS Independent",
]
dependencies = [
"Django>=5.0,<5.1",
"mssql-django==1.5",
"djangorestframework==3.15.2",
"social-auth-app-django==5.4.3",
"psycopg[binary,pool]",
]
[project.optional-dependencies]
prod = [
"gunicorn",
"uvicorn",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["test*"]
[tool.mypy]
mypy_path = "sage_validation"
exclude = [
......@@ -43,4 +79,4 @@ ban-relative-imports = "all"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "test.settings"
django_find_project = false
python_files = ["tests.py", "test_*.py", "*_tests.py"]
\ No newline at end of file
python_files = ["tests.py", "test_*.py", "*_tests.py"]
"""Setup script for the sage-validation package."""
from setuptools import find_packages, setup
setup(
name="sage-validation",
version="0.13",
packages=find_packages(),
include_package_data=True,
install_requires=[
"Django>=5.0,<5.1",
"mssql-django==1.5",
"djangorestframework==3.15.2",
"social-auth-app-django==5.4.3",
"psycopg[binary,pool]",
],
extras_require={
"prod": [
"gunicorn",
"uvicorn",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"Framework :: Django",
"Operating System :: OS Independent",
],
python_requires=">=3.10"
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment