-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·71 lines (66 loc) · 2.19 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
from io import open
import os
from setuptools import find_packages, setup
PACKAGE_NAME = "kecpkg"
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, "README.md"), encoding="utf-8") as f:
long_description = f.read()
ABOUT = {}
with open(os.path.join(PACKAGE_NAME, "__init__.py"), "r") as f:
exec(f.read(), ABOUT)
setup(
name="kecpkg-tools",
version=ABOUT.get("__version__"),
description="",
long_description=long_description,
long_description_content_type="text/markdown",
author="Jochem Berends",
author_email="jochem.berends@ke-works.com",
maintainer="Jochem Berends",
maintainer_email="jochem.berends@ke-works.com",
url="https://github.com/jberends/kecpkg-tools",
license="Apache-2.0",
keywords=(
"python",
"package tools",
"pykechain",
"KE-chain",
"Services Integration Module",
"SIM",
"KECPKG",
"GPG",
),
classifiers=(
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
),
install_requires=(
"click",
"atomicwrites",
"jinja2",
"pykechain>=3.0",
"appdirs",
"tabulate",
"python-gnupg",
),
tests_require=("coverage", "pytest", "flake8", "virtualenv"),
packages=find_packages(exclude=["tests"]),
# to include the templates in the bdist wheel, we need to add package_data here
package_data={
"kecpkg": ["files/templates/*.template", "files/templates/.*.template"]
},
entry_points={
"console_scripts": ("kecpkg = kecpkg.cli:kecpkg",),
},
)