From 3e8ec0f4c46a5262dffc67bb3e1a8dd3a57a08eb Mon Sep 17 00:00:00 2001 From: Flavio Garcia Date: Tue, 27 Oct 2020 17:39:03 -0400 Subject: [PATCH] Changed setup to find all modules in the project. --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b5d36db..3124861 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ import peasant from codecs import open -from setuptools import setup +from setuptools import find_packages, setup import sys try: @@ -72,6 +72,8 @@ def resolve_requires(requirements_file): "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Application Frameworks" ], - packages=["peasant"], + packages=find_packages(), + package_dir={'peasant': "peasant"}, + include_package_data=True, install_requires=resolve_requires("requirements/basic.txt") )