-
Notifications
You must be signed in to change notification settings - Fork 255
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (55 loc) · 2.07 KB
/
setup.py
File metadata and controls
65 lines (55 loc) · 2.07 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
54
55
56
57
58
59
60
61
62
63
64
65
import os
from setuptools import setup
PACKAGE = "allure-robotframework"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Robot Framework",
"Framework :: Robot Framework :: Tool",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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 :: 3.13",
]
setup_requires = [
"setuptools_scm"
]
install_requires = [
]
def prepare_version():
from setuptools_scm import get_version
configuration = {"root": "..", "relative_to": __file__}
version = get_version(**configuration)
install_requires.append(f"allure-python-commons=={version}")
return configuration
def get_readme(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
if __name__ == "__main__":
setup(
name=PACKAGE,
use_scm_version=prepare_version,
description="Allure Robot Framework integration",
license="Apache-2.0",
install_requires=install_requires,
setup_requires=setup_requires,
keywords="allure reporting robotframework",
packages=["allure_robotframework", "AllureLibrary"],
package_dir={"allure_robotframework": "src/listener", "AllureLibrary": "src/library"},
py_modules=["allure_robotframework"],
url="https://allurereport.org/",
project_urls={
"Source": "https://github.com/allure-framework/allure-python",
},
author="Sergey Khomutinin",
author_email="skhomuti@gmail.com",
long_description=get_readme("README.md"),
long_description_content_type="text/markdown",
classifiers=classifiers,
)