-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·73 lines (61 loc) · 1.94 KB
/
setup.py
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/python3
""" """
__version__ = "0.1.0"
import pathlib
from pkg_resources import parse_requirements
from setuptools import setup, find_packages
AUTHOR = "Meaningfy"
AUTHOR_EMAIL = "[email protected]"
MAINTAINER = "Meaningfy Team"
MAINTAINER_EMAIL = "[email protected]"
LICENSE = "Apache License 2.0"
PACKAGE_DIR = 'mapping_workbench'
NAME = "mapping_workbench"
DESCRIPTION = "Mapping Workbench"
LONG_DESCRIPTION = pathlib.Path("README.md").read_text(encoding="utf-8")
URL = "https://github.com/meaningfy-ws/mapping-workbench"
TOOLCHAIN_PACKAGE = f"{NAME}.toolchain"
PACKAGES = find_packages(include=[PACKAGE_DIR, f"{PACKAGE_DIR}.*"])
CLASSIFIERS = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Natural Language :: English",
]
kwargs = {}
with pathlib.Path('requirements.toolchain.txt').open() as requirements:
kwargs["install_requires"] = [str(requirement) for requirement in parse_requirements(requirements)]
kwargs["extras_require"] = {}
setup(
name=NAME,
version=__version__,
description=DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
url=URL,
license=LICENSE,
platforms=["any"],
python_requires=">=3.7",
classifiers=CLASSIFIERS,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
packages=PACKAGES,
package_dir={
NAME: PACKAGE_DIR
},
entry_points={
"console_scripts": [],
},
include_package_data=True,
tests_require=['pytest'],
**kwargs,
)