Skip to content

Commit 873562c

Browse files
committed
Update setup.py for finding the package correctly
1 parent e9a5cbf commit 873562c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

setup.py

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
long_description=open("README").read(),
1111
license="Apache License 2.0",
1212
url="http://github.com/buriy/python-readability",
13-
packages=find_packages(),
13+
package_dir={'': 'readability'},
14+
packages=find_packages('readability', exclude=["*.tests", "*.tests.*"]),
1415
install_requires=[
1516
"chardet",
1617
"lxml"

0 commit comments

Comments
 (0)