Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (47 loc) · 1.69 KB
/
Copy pathsetup.py
File metadata and controls
51 lines (47 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from setuptools import setup, find_packages
with open('requirements.txt') as f:
requirements = f.read().splitlines()
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='gnews',
version='0.8.3',
# setup_requires=['setuptools_scm'],
# use_scm_version={
# "local_scheme": "no-local-version"
# },
author="Muhammad Abdullah",
author_email="ranahaani@gmail.com",
description='Provide an API to search for articles on Google News and returns a usable JSON response.',
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=requirements,
extras_require={
"fulltext": ["trafilatura>=1.6", "lxml_html_clean>=0.3"],
"playwright": ["playwright>=1.40"],
},
entry_points={
"console_scripts": [
"gnews=gnews.cli:main",
],
},
url='https://github.com/ranahaani/GNews/',
project_urls={
'Documentation': 'https://github.com/ranahaani/GNews/blob/master/README.md',
'Source': 'https://github.com/ranahaani/GNews/',
'Tracker': 'https://github.com/ranahaani/GNews/issues',
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
)