|
21 | 21 | keywords='readable read parse html document readability', |
22 | 22 | long_description=open("README").read(), |
23 | 23 | license="Apache License 2.0", |
24 | | - url="http://github.com/buriy/python-readability", |
25 | | - package_dir={'': 'readability'}, |
26 | | - packages=find_packages('readability', exclude=["*.tests", "*.tests.*"]), |
27 | | - install_requires=install_requires, |
28 | | - extras_require={'test': tests_require}, |
29 | | - test_suite = "nose.collector", |
30 | | - # test_suite="tests.test_article_only", |
31 | 24 | classifiers=[ |
32 | 25 | "Environment :: Web Environment", |
33 | 26 | "Intended Audience :: Developers", |
34 | 27 | "Operating System :: OS Independent", |
35 | 28 | "Programming Language :: Python", |
36 | | - ], |
| 29 | + ], |
| 30 | + url="http://github.com/buriy/python-readability", |
| 31 | + packages=find_packages('src'), |
| 32 | + package_dir = {'': 'src'}, |
| 33 | + include_package_data=True, |
| 34 | + zip_safe=False, |
| 35 | + install_requires=install_requires, |
| 36 | + extras_require={'test': tests_require}, |
| 37 | + test_suite = "nose.collector", |
| 38 | + entry_points={ |
| 39 | + 'console_scripts': |
| 40 | + ['readability=readability_lxml:client.main'] |
| 41 | + }, |
| 42 | + |
37 | 43 | ) |
0 commit comments