Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Commits
7651da34
Commit
7651da34
authored
2 years ago
by
Oscar Gustafsson
Browse files
Options
Downloads
Patches
Plain Diff
Update requirements and documentation
parent
9558525d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!117
Update requirements and documentation
Pipeline
#88303
passed
2 years ago
Stage: test
Stage: deploy
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+22
-8
22 additions, 8 deletions
README.md
requirements.txt
+1
-0
1 addition, 0 deletions
requirements.txt
requirements_doc.txt
+3
-0
3 additions, 0 deletions
requirements_doc.txt
requirements_test.txt
+6
-0
6 additions, 0 deletions
requirements_test.txt
with
32 additions
and
8 deletions
README.md
+
22
−
8
View file @
7651da34
...
@@ -26,8 +26,8 @@ The following packages are required in order to build the library:
...
@@ -26,8 +26,8 @@ The following packages are required in order to build the library:
-
pybind11
-
pybind11
-
pyside2
-
pyside2
-
qtpy
-
qtpy
-
scipy
-
setuptools
-
setuptools
-
setuptools_scm
To build a binary distribution, the following additional packages are required:
To build a binary distribution, the following additional packages are required:
...
@@ -36,13 +36,20 @@ To build a binary distribution, the following additional packages are required:
...
@@ -36,13 +36,20 @@ To build a binary distribution, the following additional packages are required:
To run the test suite, the following additional packages are required:
To run the test suite, the following additional packages are required:
-
Python:
-
Python
(install with
`pip install -r requirements_test.txt`
)
:
-
pytest
-
pytest
-
pytest-qt
-
pytest-mpl
-
pytest-cov (for testing with coverage)
-
pytest-cov (for testing with coverage)
-
pytest-xvfb (for testing without showing windows on Linux)
-
pytest-xdist (for parallel testing)
To generate the documentation, the following additional packages are required:
To generate the documentation, the following additional packages are required:
-
doxygen
-
Python (install with
`pip install -r requirements_doc.txt`
):
-
sphinx
-
furo
-
numpydoc
### Using CMake directly
### Using CMake directly
...
@@ -147,18 +154,25 @@ pytest
...
@@ -147,18 +154,25 @@ pytest
#### Test with coverage
#### Test with coverage
```
```
pytest --cov=b_asic --cov-report html test
pytest --cov=b_asic --cov-report=html test
```
#### Test including plots
```
pytest --mpl
```
```
### Generating documentation
### Generating documentation
In
`B-ASIC`
:
In
`B-ASIC
/docs_sphinx
`
:
```
```
doxygen
make html
```
```
The output gets written to
`B-ASIC/doc`
.
The output gets written to
`B-ASIC/doc
s_sphinx/_build
`
.
## Usage
## Usage
...
@@ -167,7 +181,7 @@ How to build and use the library as a user.
...
@@ -167,7 +181,7 @@ How to build and use the library as a user.
### Installation
### Installation
```
```
pip install
b_asic
pip install
.
```
```
### Importing
### Importing
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
+
1
−
0
View file @
7651da34
setuptools_scm
This diff is collapsed.
Click to expand it.
requirements_doc.txt
0 → 100644
+
3
−
0
View file @
7651da34
sphinx
furo
numpydoc
This diff is collapsed.
Click to expand it.
requirements_test.txt
0 → 100644
+
6
−
0
View file @
7651da34
pytest
pytest-cov
pytest-qt
pytest-mpl
pytest-xvfb
pytest-xdist
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment