-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
54 lines (49 loc) · 1.7 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import re
import os
with open("README.md", "r") as fh:
long_description = fh.read()
name = "Markus Stahl"
version_regex = r"^v(?P<version>\d*\.\d*\.\d*$)"
version = os.environ.get(
"CI_COMMIT_TAG", f'2.{os.environ.get("CI_COMMIT_REF_NAME","0.0")}'
)
full_version_match = re.fullmatch(version_regex, version)
if full_version_match:
version = full_version_match.group("version")
setup(
name="robotframework-camunda",
version=version,
description="Keywords for camunda rest api, leading open source workflow engine.",
long_description=long_description,
long_description_content_type="text/markdown",
author=name,
author_email="[email protected]",
url="https://github.com/MarketSquare/robotframework-camunda",
packages=find_packages(),
classifiers=[
"Intended Audience :: Developers",
"Natural Language :: English",
"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",
"Topic :: Software Development",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Framework :: Robot Framework",
],
license="Apache License, Version 2.0",
install_requires=[
"robotframework>=3.2",
"requests",
"frozendict",
"generic-camunda-client>=7.15.0",
"requests_toolbelt",
"url-normalize",
],
include_package_data=True,
)