-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (48 loc) · 1.59 KB
/
setup.py
File metadata and controls
53 lines (48 loc) · 1.59 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
#
# SPDX-FileCopyrightText: 2020 John Samuel <johnsamuelwrites@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
"""
Setup file for inclusivewriting
"""
import runpy
try:
import setuptools
except ImportError: # pragma: no cover
setuptools = None
version_meta = runpy.run_path("./inclusivewriting/version.py")
VERSION = version_meta["__version__"]
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
if setuptools is not None:
setuptools.setup(
name="inclusivewriting",
version=VERSION,
author="John Samuel",
author_email="johnsamuelwrites@example.com",
description="Python multilingual application for inclusive writing",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/johnsamuelwrites/inclusive",
packages=setuptools.find_packages(),
include_package_data=True,
package_dir={"inclusivewriting": "inclusivewriting"},
package_data={
"inclusivewriting": [
"configuration.json",
"resources/*/*.json",
"locales/*",
"locales/*/*",
"locales/*/*/*",
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License"
+ " v3 or later (GPLv3+)",
"Operating System :: OS Independent",
],
install_requires=["rich>=10.9.0", "typer>=0.3.2", "babel>=2.9.1"],
python_requires=">=3.7",
)