From 88e7eca4c0bc54c9f4f81fad3777df0c4ba4b0bc Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Thu, 25 Nov 2021 14:33:20 +0100 Subject: [PATCH] Use find_package to also include fprettify.tests Running unit tests outside of the main repository fails since fprettify.tests is not installed. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f0b2cdd..8cbb12e 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -from setuptools import setup +from setuptools import setup, find_packages from codecs import open from os import path @@ -16,7 +16,7 @@ author_email='patrick.seewald@gmail.com', license='GPLv3', entry_points={'console_scripts': ['fprettify = fprettify:run']}, - packages=['fprettify'], + packages=find_packages(), install_requires=[ 'configargparse', ],