Skip to content
Snippets Groups Projects
Commit 5d6f567a authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Update dependency description

parent ddb08e8e
No related branches found
No related tags found
No related merge requests found
Pipeline #88552 passed
This commit is part of merge request !135. Comments created here will be created in the context of that merge request.
...@@ -4,20 +4,22 @@ stages: ...@@ -4,20 +4,22 @@ stages:
before_script: before_script:
- apt-get update --yes - apt-get update --yes
- apt-get install --yes build-essential cmake libfmt-dev pybind11-dev graphviz python3-pyqt5 xvfb xdg-utils lcov - apt-get install --yes build-essential cmake graphviz python3-pyqt5 xvfb xdg-utils lcov
- python -m pip install --upgrade pip - python -m pip install --upgrade pip
- python --version - python --version
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install -r requirements_doc.txt
- pip install -r requirements_test.txt
- pip install $QT_API - pip install $QT_API
- export PYTEST_QT_API=$QT_API - git fetch --tags
- export QT_API=$QT_API
# - export CXXFLAGS='--coverage' # - export CXXFLAGS='--coverage'
- pip install -ve . # Install without dependencies to make sure that requirements.txt is up-to-date
- pip install --no-deps -ve .
# Move file, but should be handled by installation # Move file, but should be handled by installation
- mv _b_asic* b_asic - mv _b_asic* b_asic
- pip show b_asic - pip show b_asic
- export QT_API=$QT_API
# Install test dependencies
- pip install -r requirements_test.txt
- export PYTEST_QT_API=$QT_API
.run-test: .run-test:
stage: test stage: test
...@@ -106,6 +108,7 @@ run-doc-test: ...@@ -106,6 +108,7 @@ run-doc-test:
image: python:3.10 image: python:3.10
stage: test stage: test
script: script:
- pip install -r requirements_doc.txt
- sphinx-build -b html docs_sphinx public - sphinx-build -b html docs_sphinx public
pages: pages:
...@@ -114,6 +117,7 @@ pages: ...@@ -114,6 +117,7 @@ pages:
stage: deploy stage: deploy
image: python:3.10 image: python:3.10
script: script:
- pip install -r requirements_doc.txt
- sphinx-build -b html docs_sphinx public - sphinx-build -b html docs_sphinx public
artifacts: artifacts:
paths: paths:
......
...@@ -15,19 +15,21 @@ How to build and debug the library during development. ...@@ -15,19 +15,21 @@ How to build and debug the library during development.
The following packages are required in order to build the library: The following packages are required in order to build the library:
- cmake 3.8+ - cmake 3.8+
- gcc 7+/clang 7+/msvc 16+ - gcc 7+/clang 7+/msvc 16+ (C++ 17 support)
- fmtlib - fmtlib
- pybind11 2.3.0+ - pybind11 2.10.1+
- python 3.6+ - python 3.8+
- Python: - Python (install with `pip install -r requirements_test.txt` or they will be installed as part of the
installation process):
- graphviz - graphviz
- matplotlib - matplotlib
- numpy - numpy
- pybind11
- pyside2
- qtpy - qtpy
- setuptools - Qt 5 or 6, with Python bindings, one of:
- setuptools_scm - pyside2
- pyqt5
- pyside6
- pyqt6
To build a binary distribution, the following additional packages are required: To build a binary distribution, the following additional packages are required:
......
...@@ -9,7 +9,7 @@ license = { file = "LICENSE" } ...@@ -9,7 +9,7 @@ license = { file = "LICENSE" }
requires-python = ">=3.8" requires-python = ">=3.8"
dependencies = [ dependencies = [
"numpy", "numpy",
"pybind11>=2.3.0", "pybind11>=2.10.1",
# "pyside2", # "pyside2",
"qtpy", "qtpy",
"graphviz>=0.19", "graphviz>=0.19",
......
setuptools_scm[toml]>=6.2 # setuptools_scm[toml]>=6.2
numpy numpy
pybind11>=2.3.0 # pybind11>=2.10.1
# pyside2 # pyside2
qtpy qtpy
graphviz>=0.19 graphviz>=0.19
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment