Skip to content

Commit f98779a

Browse files
Fix to include py.typed in distributed wheel
1 parent 4700bb6 commit f98779a

File tree

4 files changed

+6
-37
lines changed

4 files changed

+6
-37
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [2.0.1] - 2023-04-08 :egg:
8+
## [2.0.2] - 2023-04-10 :egg:
99
- Fix missing `py.typed` files in the distribution package.
1010

1111
## [2.0.0] - 2023-04-08 :egg:

MANIFEST.in

Lines changed: 0 additions & 3 deletions
This file was deleted.

example.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

pyproject.toml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
2+
requires = ["setuptools>=61.0"]
3+
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "essentials-configuration"
7-
version = "2.0.1"
7+
version = "2.0.2"
88
authors = [{ name = "Roberto Prevato", email = "roberto.prevato@gmail.com" }]
99
description = "Implementation of key-value pair based configuration for Python applications."
1010
readme = "README.md"
@@ -30,25 +30,8 @@ full = ["PyYAML", "click"]
3030
[project.scripts]
3131
config = "config.cli.main:main"
3232

33-
[tool.hatch.build.targets.sdist]
34-
exclude = [
35-
"/.github",
36-
"/docs",
37-
"/examples",
38-
"/deps",
39-
"/htmlcov",
40-
"/tests",
41-
"Makefile",
42-
"CODE_OF_CONDUCT.md",
43-
".isort.cfg",
44-
".gitignore",
45-
".flake8",
46-
"junit",
47-
"requirements.txt",
48-
"mypy.ini",
49-
"pytest.ini",
50-
"venv",
51-
]
33+
[tool.setuptools.package-data]
34+
config = ["*/py.typed"]
5235

5336
[project.urls]
5437
"Homepage" = "https://github.com/Neoteroi/essentials-configuration"

0 commit comments

Comments
 (0)