Find packages in setup.py.

Thanks Jordi!
This commit is contained in:
Honza Kral
2013-09-23 14:33:23 +02:00
parent 402fca0e32
commit d19afcaa7e
+5 -2
View File
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from os.path import join, dirname from os.path import join, dirname
from setuptools import setup from setuptools import setup, find_packages
import sys import sys
@@ -42,7 +42,10 @@ setup(
version = __versionstr__, version = __versionstr__,
author = "Honza Král", author = "Honza Král",
author_email = "[email protected]", author_email = "[email protected]",
packages = ['elasticsearch'], packages=find_packages(
where='.',
exclude=('test_elasticsearch', )
),
classifiers = [ classifiers = [
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",