-
Notifications
You must be signed in to change notification settings - Fork 764
/
setup.py
executable file
·54 lines (49 loc) · 1.92 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
import re
from os.path import abspath, dirname, join
from setuptools import setup, find_packages
CURDIR = dirname(abspath(__file__))
CLASSIFIERS = '''
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
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 :: Only
Topic :: Software Development :: Testing
Framework :: Robot Framework
Framework :: Robot Framework :: Library
'''.strip().splitlines()
with open(join(CURDIR, 'src', 'SeleniumLibrary', '__init__.py')) as f:
VERSION = re.search('\n__version__ = "(.*)"', f.read()).group(1)
with open(join(CURDIR, 'README.rst')) as f:
DESCRIPTION = f.read()
with open(join(CURDIR, 'requirements.txt')) as f:
REQUIREMENTS = f.read().splitlines()
setup(
name = 'robotframework-seleniumlibrary',
version = VERSION,
description = 'Web testing library for Robot Framework',
long_description = DESCRIPTION,
author = 'Ed Manlove, Yuri Verweij, Lisa Crispin',
author_email = 'emanlove@verizon.net',
url = 'https://github.com/robotframework/SeleniumLibrary',
license = 'Apache License 2.0',
keywords = 'robotframework testing testautomation selenium webdriver web',
platforms = 'any',
classifiers = CLASSIFIERS,
python_requires = '>=3.8, <3.13',
install_requires = REQUIREMENTS,
package_dir = {'': 'src'},
packages = find_packages('src'),
entry_points = {"console_scripts": ["selib=SeleniumLibrary.entry.__main__:cli"]},
package_data ={
'SeleniumLibrary':
['*.pyi']
}
)