8000 Update setup.py for finding the package correctly · optionalg/python-readability@873562c · GitHub
[go: up one dir, main page]

Skip to content

Commit 873562c

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)
0