This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
57 lines (52 loc) · 1.58 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
"""
License terms and conditions for Janssen:
https://www.apache.org/licenses/LICENSE-2.0
"""
import codecs
import os
import re
from setuptools import setup
from setuptools import find_packages
def find_version(*file_paths):
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, *file_paths), 'r') as f:
version_file = f.read()
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
setup(
name="jans-cli",
version=find_version("cli", "version.py"),
url="",
copyright="Copyright 2021, Janssen",
license="Apache 2.0 <https://www.apache.org/licenses/LICENSE-2.0>",
author="Janssen",
author_email="",
maintainer="",
status="Dev",
description="",
long_description=__doc__,
packages=find_packages(),
package_data={'': ['*.yaml']},
zip_safe=False,
install_requires=[
"ruamel.yaml>=0.16.5"
],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache 2.0 License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3s",
"Programming Language :: Python :: 3.6",
],
include_package_data=True,
entry_points={
"console_scripts": [
"config-cli=cli.config_cli:main",
"scim-cli=cli.config_cli:main",
],
},
)