Skip to content

Commit 9f25ca7

Browse files
committed
fixed the packaging so that the contribution guide is included in the published package
1 parent b71225b commit 9f25ca7

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ poetry run python -m pytest -v --cov=py2puml --cov-branch --cov-report term-miss
181181

182182
# Changelog
183183

184+
* `0.5.4`: fixed the packaging so that the contribution guide is included in the published package
184185
* `0.5.3`: handle constructors decorated by wrapping decorators (decorators making uses of `functools.wrap`)
185186
* `0.5.2`: specify in pyproject.toml that py2puml requires python 3.8+ (`ast.get_source_segment` was introduced in 3.8)
186187
* `0.5.1`: prevent from parsing inherited constructors

py2puml/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
def run():
1010
argparser = ArgumentParser(description='Generate PlantUML class diagrams to document your Python application.')
1111

12-
argparser.add_argument('-v', '--version', action='version', version='py2puml 0.5.3')
12+
argparser.add_argument('-v', '--version', action='version', version='py2puml 0.5.4')
1313
argparser.add_argument('path', metavar='path', type=str, help='the path of the domain')
1414
argparser.add_argument('module', metavar='module', type=str, help='the module of the domain', default=None)
1515

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
[tool.poetry]
22
name = "py2puml"
3-
version = "0.5.3"
3+
version = "0.5.4"
44
description = "Generate PlantUML class diagrams to document your Python application."
55
keywords = ["class diagram", "PlantUML", "documentation", "inspection", "AST"]
66
readme = "README.md"
77
repository = "https://github.com/lucsorel/py2puml"
88
authors = ["Luc Sorel-Giffo"]
99
maintainers = ["Luc Sorel-Giffo"]
1010
license = "MIT"
11+
include = [
12+
"CONTRIBUTING.md"
13+
]
1114

1215
[tool.poetry.scripts]
1316
py2puml = 'py2puml.cli:run'

tests/py2puml/test__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Ensures the library version is modified in the pyproject.toml file when upgrading it (pull request)
44
def test_version():
5-
assert __version__ == '0.5.3'
5+
assert __version__ == '0.5.4'
66

77
# Description also output in the CLI
88
def test_description():

0 commit comments

Comments
 (0)