From fdbc8909cc481fbf337240b994ab1e68e5e11487 Mon Sep 17 00:00:00 2001 From: Alessio Bogon Date: Thu, 8 Jan 2015 23:58:35 +0100 Subject: [PATCH] Use find_packages from setuptools to identify packages --- setup.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 09e17ed..b3f5034 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import setup +from setuptools import setup, find_packages import os setup( @@ -12,11 +12,7 @@ setup( 'administrators of options for commands that they use frequently, but not ' 'frequently enough to remember.', url = 'https://github.com/chrisallenlane/cheat', - packages = [ - 'cheat', - 'cheat.cheatsheets', - 'cheat.test', - ], + packages = find_packages(), package_data = { 'cheat.cheatsheets': [f for f in os.listdir('cheat/cheatsheets') if '.' not in f] },