Skip to content

Commit

Permalink
fix: update packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-bozbei-ew committed Dec 15, 2023
1 parent abe2ba2 commit ffb5f81
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion py_ocpi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Python Implementation of OCPI"""

__version__ = "2023.12.15"
__version__ = "2023.12.16"

from .core import enums, data_types
from .main import get_application
23 changes: 17 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
[build-system]
requires = [
"hatchling>=1.18.0",
]
requires = ["hatchling>=1.18.0"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["py_ocpi"]
include = ["README.md", "LICENSE"]

[tool.hatch.build.targets.sdist]
exclude = [
"/docs/",
"/.github/",
"/tests/",
"/.gitignore",
"/.pre-commit",
"/Pipfile",
"/Pipfile.lock",
"/readthedocs.yaml",
]

[tool.black]
line-length = 80
target-version = ["py311"]
Expand Down Expand Up @@ -51,9 +65,6 @@ Repository = "https://github.com/extrawest/extrawest_ocpi"
[tool.hatch.version]
path = "py_ocpi/__init__.py"

[tool.hatch.build.targets.wheel]
packages = ["py_ocpi/__init__.py"]

[tool.flake8]
max-line-length = 88
per-file-ignores = [
Expand Down

0 comments on commit ffb5f81

Please sign in to comment.