From d19afcaa7e93635053cfc2bf32fb591f01fcb341 Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Mon, 23 Sep 2013 14:33:23 +0200 Subject: [PATCH] Find packages in setup.py. Thanks Jordi! --- setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e3a06b1a..9c51506b 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- from os.path import join, dirname -from setuptools import setup +from setuptools import setup, find_packages import sys @@ -42,7 +42,10 @@ setup( version = __versionstr__, author = "Honza Král", author_email = "honza.kral@gmail.com", - packages = ['elasticsearch'], + packages=find_packages( + where='.', + exclude=('test_elasticsearch', ) + ), classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: Apache Software License",