-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
55 lines (47 loc) · 1.99 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
import os
from setuptools import setup, find_packages, Distribution
class BinaryDistribution(Distribution):
"""Distribution which always forces a binary package with platform name"""
# pylint: disable=no-self-use
def has_ext_modules(self):
"""Distribution which always forces a binary package with platform name"""
return True
with open("./src/FlaUILibrary/version.py", "r") as fh:
VersionFile = fh.read()
VersionFile = VersionFile.replace("\n", "")
IGNORE, VERSION = VersionFile.split(" = ")
VERSION = VERSION.replace("\"", "")
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
with open("requirements.txt", "r") as f:
REQUIREMENTS = list(filter(lambda s: s != "", f.read().split("\n")))
setup(name="robotframework-flaui",
version=VERSION,
description="Windows GUI testing library for Robot Framework",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="G DATA CyberDefense AG",
author_email="opensource@gdata.de",
url='https://github.com/GDATASoftwareAG/robotframework-flaui',
license='MIT',
install_requires=REQUIREMENTS,
packages=find_packages("src"),
package_dir={"FlaUILibrary": "src/FlaUILibrary"},
package_data={"FlaUILibrary": ["bin/*.dll"]},
classifiers=[
"Programming Language :: Python :: 3",
"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",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft",
"Topic :: Software Development :: Testing",
"Framework :: Robot Framework",
"Framework :: Robot Framework :: Library"
],
distclass=BinaryDistribution,
platforms=['Windows']
)