aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml58
-rw-r--r--setup.py17
2 files changed, 48 insertions, 27 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 06e9503..11fcaad 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,37 +8,37 @@ dynamic = ["version"]
description = "CLI tool for downloading files from MediaWiki sites"
readme = "README.md"
authors = [
- {name = "Cody Logan", email = "clpo13@gmail.com"}
+ {name = "Cody Logan", email = "clpo13@gmail.com"}
]
requires-python = ">=3.7"
license = {text = "GPL-3.0-or-later"}
keywords = ["commons", "mediawiki", "wikimedia", "wikipedia"]
classifiers = [
- "Development Status :: 4 - Beta",
- "Environment :: Console",
- "Intended Audience :: End Users/Desktop",
- "Operating System :: OS Independent",
- "Topic :: Internet",
- "Topic :: Internet :: WWW/HTTP",
- "Topic :: Multimedia",
- "Topic :: Multimedia :: Graphics",
- "Topic :: Multimedia :: Sound/Audio",
- "Topic :: Multimedia :: Video",
- "Topic :: Utilities",
- "Programming Language :: Python",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3 :: Only",
- "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",
- "Programming Language :: Python :: 3.12",
+ "Development Status :: 4 - Beta",
+ "Environment :: Console",
+ "Intended Audience :: End Users/Desktop",
+ "Operating System :: OS Independent",
+ "Topic :: Internet",
+ "Topic :: Internet :: WWW/HTTP",
+ "Topic :: Multimedia",
+ "Topic :: Multimedia :: Graphics",
+ "Topic :: Multimedia :: Sound/Audio",
+ "Topic :: Multimedia :: Video",
+ "Topic :: Utilities",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3 :: Only",
+ "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",
+ "Programming Language :: Python :: 3.12",
]
dependencies = [
- "mwclient>=0.10.0",
- "requests",
- "tqdm",
+ "mwclient>=0.10.0",
+ "requests",
+ "tqdm",
]
[project.urls]
@@ -53,13 +53,13 @@ path = "src/wikiget/version.py"
[tool.pytest.ini_options]
addopts = [
- "--import-mode=importlib",
+ "--import-mode=importlib",
]
testpaths = ["tests"]
[tool.hatch.build.targets.sdist]
exclude = [
- "/.github",
+ "/.github",
]
[tool.hatch.build.targets.wheel.shared-data]
@@ -188,5 +188,9 @@ exclude_lines = [
]
[[tool.mypy.overrides]]
-module = ["mwclient", "pytest"]
+module = [
+ "mwclient",
+ "mwclient.image",
+ "pytest",
+]
ignore_missing_imports = true
diff --git a/setup.py b/setup.py
index 6068493..a73e48c 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,20 @@
+# wikiget - CLI tool for downloading files from Wikimedia sites
+# Copyright (C) 2023 Cody Logan
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# Wikiget is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Wikiget is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Wikiget. If not, see <https://www.gnu.org/licenses/>.
+
from setuptools import setup
setup()