-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (36 loc) · 1.34 KB
/
setup.py
File metadata and controls
39 lines (36 loc) · 1.34 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
from setuptools import setup, find_packages
import os
def get_version():
version_file = os.path.join(
os.path.dirname(__file__), "googlenewsdecoder", "__version__.py"
)
with open(version_file, "r") as f:
version_vars = {}
exec(f.read(), version_vars)
return version_vars["__version__"]
setup(
name="googlenewsdecoder",
version=get_version(),
description="A Python package to decode Google News URLs to their original sources.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/SSujitX/google-news-url-decoder",
author="Sujit Biswas",
author_email="ssujitxx@gmail.com",
license="MIT",
packages=find_packages(),
install_requires=["requests>=2.32.3", "selectolax>=0.3.27", "pysocks>=1.7.1"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
zip_safe=False,
keywords="google news decoder",
project_urls={
"Bug Tracker": "https://github.com/SSujitX/google-news-url-decoder/issues",
"Documentation": "https://github.com/SSujitX/google-news-url-decoder#readme",
"Source Code": "https://github.com/SSujitX/google-news-url-decoder",
},
python_requires=">=3.9",
)