-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (48 loc) · 1.57 KB
/
Copy pathsetup.py
File metadata and controls
51 lines (48 loc) · 1.57 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
#!/usr/bin/env python3
"""Setup script for napi - NewsAPI CLI tool."""
from setuptools import setup, find_packages
from pathlib import Path
# Read the contents of README file
this_directory = Path(__file__).parent
long_description = (
(this_directory / "README.md").read_text(encoding="utf-8")
if (this_directory / "README.md").exists()
else ""
)
setup(
name="napi-cli",
version="0.1.0",
author="Ian Goodrich",
author_email="ian@igdr.ch",
description="A CLI tool for pulling data from NewsAPI endpoints",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yourusername/napi",
py_modules=["napi"],
python_requires=">=3.7",
install_requires=[
"requests>=2.25.0",
"python-dotenv>=0.19.0",
"tqdm>=4.60.0",
],
entry_points={
"console_scripts": [
"napi=napi:cli_main",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
"Topic :: Utilities",
],
keywords="news api cli newsapi eventregistry",
)