|
37 | 37 | '>>> Confirm release PUBLISH to PyPI? (yes/no): ')).lower().strip()
|
38 | 38 | if reply == 'yes':
|
39 | 39 | print("\n*** Checking code health with flake8:\n")
|
| 40 | + os.system("python -m pip install 'flake8==3.8.4'") |
40 | 41 | flake8_status = os.system("flake8 --exclude=temp")
|
41 | 42 | if flake8_status != 0:
|
42 | 43 | print("\nWARNING! Fix flake8 issues before publishing to PyPI!\n")
|
|
137 | 138 | 'pytest==4.6.11;python_version<"3.5"',
|
138 | 139 | 'pytest==6.1.2;python_version>="3.5" and python_version<"3.6"',
|
139 | 140 | 'pytest==6.2.2;python_version>="3.6"',
|
140 |
| - 'pytest-cov==2.11.1', |
141 | 141 | 'pytest-forked==1.3.0',
|
142 | 142 | 'pytest-html==1.22.1;python_version<"3.6"',
|
143 | 143 | 'pytest-html==2.0.1;python_version>="3.6"',
|
|
174 | 174 | 'virtualenv>=20.4.2', # Sync with importlib-metadata and pathlib2
|
175 | 175 | 'pymysql==0.10.1;python_version<"3.6"',
|
176 | 176 | 'pymysql==1.0.2;python_version>="3.6"',
|
177 |
| - 'coverage==5.5', |
178 | 177 | 'brython==3.9.1',
|
179 | 178 | 'pyotp==2.6.0',
|
180 | 179 | 'boto==2.49.0',
|
|
184 | 183 | 'Pillow==7.2.0;python_version>="3.5" and python_version<"3.6"',
|
185 | 184 | 'Pillow==8.1.2;python_version>="3.6"',
|
186 | 185 | 'rich==9.13.0;python_version>="3.6" and python_version<"4.0"',
|
187 |
| - 'flake8==3.7.9;python_version<"3.5"', |
188 |
| - 'flake8==3.8.4;python_version>="3.5"', |
189 |
| - 'pyflakes==2.1.1;python_version<"3.5"', |
190 |
| - 'pyflakes==2.2.0;python_version>="3.5"', |
191 | 186 | 'tornado==5.1.1;python_version<"3.5"',
|
192 | 187 | 'tornado==6.1;python_version>="3.5"',
|
193 | 188 | 'allure-pytest==2.8.22;python_version<"3.5"',
|
194 | 189 | 'allure-pytest==2.8.36;python_version>="3.5"',
|
195 | 190 | 'pdfminer.six==20191110;python_version<"3.5"',
|
196 | 191 | 'pdfminer.six==20201018;python_version>="3.5"',
|
197 | 192 | ],
|
| 193 | + extras_require={ |
| 194 | + # pip install -e .[coverage] |
| 195 | + 'coverage': [ |
| 196 | + 'coverage==5.5', |
| 197 | + 'pytest-cov==2.11.1', |
| 198 | + ], |
| 199 | + # pip install -e .[flake] |
| 200 | + 'flake': [ |
| 201 | + 'flake8==3.7.9;python_version<"3.5"', |
| 202 | + 'flake8==3.8.4;python_version>="3.5"', |
| 203 | + 'pyflakes==2.1.1;python_version<"3.5"', |
| 204 | + 'pyflakes==2.2.0;python_version>="3.5"', |
| 205 | + 'pycodestyle==2.5.0;python_version<"3.5"', |
| 206 | + 'pycodestyle==2.6.0;python_version>="3.5"', |
| 207 | + ], |
| 208 | + }, |
198 | 209 | packages=[
|
199 | 210 | 'seleniumbase',
|
200 | 211 | 'seleniumbase.common',
|
|
0 commit comments