From f8f09d4b5fea68c3a7f5eb014432cfbab0ee6c26 Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Sun, 13 Oct 2019 12:07:44 -0700 Subject: [PATCH] Use inclue_package_data. --- setup.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/setup.py b/setup.py index e7f172b5..51f268ed 100755 --- a/setup.py +++ b/setup.py @@ -47,19 +47,7 @@ setup( license='AGPLv3', long_description=description, packages=find_packages(), - package_data={ - # we manually collect the package data, as opposed to using, - # include_package_data=True because we don't want the tests to be - # included automatically as package data (MANIFEST.in is too greedy) - 'pelican': [relpath(join(root, name), 'pelican') - for root, _, names in walk(join('pelican', 'themes')) - for name in names], - 'pelican.tools': [relpath(join(root, name), join('pelican', 'tools')) - for root, _, names in walk(join('pelican', - 'tools', - 'templates')) - for name in names], - }, + include_package_data=True, # includes all in MANIFEST.in if in package install_requires=requires, extras_require={ 'Markdown': ['markdown~=3.1.1']