Skip to content

Commit 5fbc700

Browse files
committed
setup: install the analysis dependencies with the dev extra
pylint reports E0401 import-error for pandas, matplotlib and seaborn in the analysis package, because the dev extra does not install them and CI only installs ".[dev]". Add them to dev so lint can resolve the imports. Also set long_description_content_type, so the README renders as Markdown rather than plain text. Extracted unmodified from PR kernelci#26 by Norbert Manthey. Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
1 parent 1ddc9a9 commit 5fbc700

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
version="1.0.0",
2626
description="Kernel-ci-cloud-labs",
2727
long_description=long_description,
28+
long_description_content_type="text/markdown",
2829
package_dir={"": "src"},
2930
packages=find_packages(where="src"),
3031
python_requires=">=3.11",
@@ -45,6 +46,9 @@
4546
"isort>=5.0",
4647
"pre-commit>=2.0",
4748
"pytest-cov>=2.0",
49+
"pandas>=1.3.0",
50+
"matplotlib>=3.4.0",
51+
"seaborn>=0.11.0",
4852
],
4953
"analysis": [
5054
"pandas>=1.3.0",

0 commit comments

Comments
 (0)