Skip to content

Commit

Permalink
Add pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
beregond committed Dec 19, 2023
1 parent 0c11e36 commit 4a7aab7
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 119 deletions.
3 changes: 0 additions & 3 deletions jsonmodels/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
__author__ = "Szczepan Cieślik"
__email__ = "szczepan.cieslik@gmail.com"
__version__ = "2.7.0"
62 changes: 62 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[project]
name = "jsonmodels"
version = "2.7.0"
description="Models to make easier to deal with structures that are converted to, or read from JSON."
readme = "README.rst"
requires-python = ">=3.8"
license = {file = "LICENSE"}
dependencies = ["python-dateutil"]
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
authors = [
{name = "Szczepan Cieślik", email = "szczepan.cieslik@gmail.com"}
]

[project.optional-dependencies]
dev = [
"Jinja2",
"MarkupSafe",
"Pygments",
"Sphinx",
"coverage",
"docutils",
"flake8",
"flake8-pyproject",
"invoke",
"importlib-metadata==4.13.0",
"mccabe",
"pep8",
"py",
"pyflakes",
"pytest",
"pytest-cov",
"sphinxcontrib-spelling",
"tox",
"virtualenv",
"wheel",
]

[project.urls]
"Home" = "https://github.com/jazzband/jsonmodels"

[tool.flake8]
exclude = ["./docs/conf.py"]
max-complexity = 8
max_line_length = 88

[tool.isort]
profile = "black"

[build-system]
requires = ["setuptools>=43.0.0", "wheel"]
build-backend = "setuptools.build_meta"
20 changes: 0 additions & 20 deletions requirements.txt

This file was deleted.

7 changes: 0 additions & 7 deletions setup.cfg

This file was deleted.

89 changes: 0 additions & 89 deletions setup.py

This file was deleted.

0 comments on commit 4a7aab7

Please sign in to comment.