This repository was archived by the owner on Sep 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (52 loc) · 1.72 KB
/
setup.py
File metadata and controls
59 lines (52 loc) · 1.72 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
52
53
54
55
56
57
58
59
import codecs
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
VERSION = "2.1.1"
DESCRIPTION = "Edit diffs and type detection for Wikipedia"
LONG_DESCRIPTION = "A package that allows edit diffs and type detection for Wikipedia."
# Dev dependencies
EXTRAS_REQUIRE = {
"tests": ["pytest>=6.2.5"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"]
# Setting up
setup(
name="mwedittypes",
version=VERSION,
author="geohci & Amamgbu (Isaac Johnson & Jesse Amamgbu)",
author_email="<amamgbujesse@yahoo.com>",
url="https://github.com/geohci/edit-types",
license="MIT License",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
install_requires=["mwparserfromhell", "anytree", "mwconstants"],
keywords=[
"python",
"wikipedia",
"edit types",
"edit diffs",
"wiki",
"edit detection",
],
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
],
extras_require=EXTRAS_REQUIRE,
include_package_data=True,
zip_safe=False,
)