From ec92ce92fae1afd7bbfc54ff7f16d885bcd0f29f Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Sun, 13 Oct 2019 11:58:41 -0700 Subject: [PATCH] Include the tests package in the source distribution. Fixes #2635 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 23857608..e7f172b5 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from io import open from os import walk from os.path import join, relpath -from setuptools import setup +from setuptools import setup, find_packages version = "4.1.3" @@ -46,7 +46,7 @@ setup( keywords='static web site generator SSG reStructuredText Markdown', license='AGPLv3', long_description=description, - packages=['pelican', 'pelican.tools'], + 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