Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit f257173

Browse files
committed
modified: setup.cfg
modified: setup.py
1 parent ed62c9a commit f257173

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[metadata]
2-
description-file = README.md
2+
description_file = README.md
33

44
[bdist_wheel]
55
universal=1

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def get_version():
77
# Read version from CHANGELOG.md
88
with open('CHANGELOG.md', 'r', encoding='utf-8') as f:
99
first_line = f.readline().strip()
10-
match = re.search(r'\[(\d+\.\d+\.\d+)\]', first_line)
10+
match = re.search(r'# \[(\d+\.\d+\.\d+)\]', first_line)
1111
if match:
1212
version = match.group(1)
1313

@@ -42,7 +42,7 @@ def get_version():
4242
long_description=open('README.md').read(),
4343
long_description_content_type='text/markdown',
4444
package_data={
45-
'simpletool': ['CHANGELOG.md'],
45+
'simpletool': ['CHANGELOG.md', 'README.md', 'LICENSE'],
4646
},
4747
include_package_data=True,
4848
classifiers=[

0 commit comments

Comments
 (0)