Skip to content

Commit d99f486

Browse files
committed
Add pyproject.toml
1 parent a1e078c commit d99f486

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

setup.cfg renamed to _setup.cfg

File renamed without changes.

setup.py renamed to _setup.py

File renamed without changes.

pyproject.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "django-rest-models"
7+
dynamic = ["version"]
8+
description = "A Django fake ORM model that query an RestAPI instead of a database."
9+
readme = "README.rst"
10+
requires-python = ">= 3.9"
11+
dependencies = [
12+
"django>=4.2,<5.2",
13+
"requests",
14+
"unidecode"
15+
]
16+
authors = [
17+
{ name = "Darius BERNARD", email = "darius@yupeek.com" }
18+
]
19+
urls = { source = "https://github.com/Yupeek/django-rest-models" }
20+
license = { file = "LICENSE.md" }
21+
keywords = ["django", "rest", "models", "API", "ORM"]
22+
classifiers = [
23+
"Development Status :: 4 - Beta",
24+
"Intended Audience :: Developers",
25+
"License :: OSI Approved :: BSD License",
26+
"Programming Language :: Python :: 3",
27+
"Programming Language :: Python :: 3.9",
28+
"Programming Language :: Python :: 3.10",
29+
"Programming Language :: Python :: 3.11",
30+
"Programming Language :: Python :: 3.12",
31+
"Operating System :: OS Independent",
32+
"Topic :: Software Development :: Libraries",
33+
"Topic :: Utilities",
34+
"Environment :: Web Environment",
35+
"Framework :: Django",
36+
]
37+
38+
[tool.setuptools]
39+
packages = ["rest_models", "rest_models.backend"]
40+
41+
[tool.setuptools.dynamic]
42+
version = { attr = "rest_models.__version__" }
43+
44+
[tool.coverage.run]
45+
omit = ["docs"]
46+
47+
[tool.isort]
48+
line_length = 119
49+
default_section = "THIRDPARTY"
50+
known_first_party = ["rest_models", "testapi", "testapp", "testappsimple"]

0 commit comments

Comments
 (0)