Update setup.py for finding the package correctly

This commit is contained in:
Richard Harding 2012-04-17 13:35:54 -04:00
parent e9a5cbfe7f
commit 873562cfba

3
setup.py Normal file → Executable file
View File

@ -10,7 +10,8 @@ setup(
long_description=open("README").read(),
license="Apache License 2.0",
url="http://github.com/buriy/python-readability",
packages=find_packages(),
package_dir={'': 'readability'},
packages=find_packages('readability', exclude=["*.tests", "*.tests.*"]),
install_requires=[
"chardet",
"lxml"