Skip to content

Commit 06c4d91

Browse files
committed
Add requirements files
1 parent b53cdf2 commit 06c4d91

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

requirements/base.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Also update setup.py when you edit this file.
2+
selenium==3.141.0

requirements/docs.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-r base.txt
2+
3+
sphinx-rtd-theme==0.5.0
4+
sphinx==3.2.1

requirements/test.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-r base.txt
2+
3+
psutil==5.6.6
4+
pywin32 >= 227;platform_system=='Windows'

setup.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
python_requires='>=3',
1313
packages = find_packages(exclude=['tests', 'tests.*']),
1414
install_requires = [
15+
# Also update requirements/base.txt when you make changes here.
1516
'selenium==3.141.0'
1617
],
1718
package_data = {
@@ -33,12 +34,5 @@
3334
'Operating System :: POSIX :: Linux',
3435
'Operating System :: MacOS :: MacOS X'
3536
],
36-
test_suite='tests',
37-
tests_require=[
38-
'psutil==5.6.6',
39-
"pywin32 >= 227;platform_system=='Windows'"
40-
],
41-
extras_require={
42-
'docs': ['sphinx-rtd-theme==0.5.0', 'sphinx==3.2.1'],
43-
}
37+
test_suite='tests'
4438
)

0 commit comments

Comments
 (0)