Skip to content

Commit 2707fb7

Browse files
committed
Include all package data. Closes python#93.
1 parent 77db4e5 commit 2707fb7

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

docs/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
importlib_resources NEWS
33
==========================
44

5+
v2.0.2
6+
======
7+
8+
* Package now always includes its data. Closes #93.
9+
510
v2.0.1
611
======
712

setup.cfg

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ classifiers =
1515
Programming Language :: Python :: 3
1616

1717
[options]
18+
packages = find:
19+
include_package_data = true
1820
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*
1921
install_requires =
2022
pathlib2; python_version < '3'
@@ -24,15 +26,6 @@ install_requires =
2426
importlib_metadata; python_version < '3.8'
2527
contextlib2; python_version < '3'
2628
setup_requires = setuptools_scm[toml] >= 3.4.1
27-
packages = find:
28-
29-
[options.package_data]
30-
* = *.zip, *.file, *.txt, *.toml
31-
importlib_resources =
32-
docs/*
33-
docs/_static/*
34-
importlib_resources.tests.data03 =
35-
namespace/*
3629

3730
[mypy]
3831
ignore_missing_imports = True

0 commit comments

Comments
 (0)