Skip to content

Commit bf53e07

Browse files
committed
Fix a setup.cfg metadata bug
Closes python#55
1 parent 922fd14 commit bf53e07

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

importlib_resources/docs/changelog.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
importlib_resources NEWS
33
==========================
44

5+
0.7 (2018-05-15)
6+
================
7+
* Fix ``setup.cfg`` metadata bug. Closes #55
8+
59
0.6 (2018-05-15)
610
================
711
* Move everything from ``pyproject.toml`` to ``setup.cfg``, with the added
8-
benefit of fixing the PyPI metadata.
12+
benefit of fixing the PyPI metadata. Closes #54
913
* Turn off mypy's ``strict_optional`` setting for now.
1014

1115
0.5 (2018-05-01)

importlib_resources/version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6
1+
0.7

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ install_requires =
2727
packages = find:
2828

2929
[options.package_data]
30-
* = *.zip, *.file
30+
* = *.zip, *.file, *.txt
3131
importlib_resources =
3232
docs/*
3333
docs/_static/*

version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
# Yes, it's horrible to let reference counting reclaim the open file object,
88
# but oh well, this will exit soon.
9-
__version__ = open('importlib_resources/version.txt').read()
9+
__version__ = open('importlib_resources/version.txt').read().strip()

0 commit comments

Comments
 (0)