File: Justfile

package info (click to toggle)
python-jellyfish 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,052 kB
  • sloc: python: 580; makefile: 39; sh: 3
file content (28 lines) | stat: -rw-r--r-- 706 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
pytest:
    maturin develop
    .venv/bin/pytest

test: pytest
    cargo test

deploy-docs:
    . .venv/bin/activate
    mkdocs gh-deploy

venv:
    rm -rf .venv
    python3 -m venv .venv
    . .venv/bin/activate
    .venv/bin/pip install wheel pytest mkdocs-material
    .venv/bin/pip install jupyter pandas seaborn


timedruns-old:
    .venv/bin/pip install jellyfish==0.10.0 # last C version
    .venv/bin/python benchmarks/timedruns.py old > benchmarks/timedruns-old.csv

timedruns-new:
    .venv/bin/pip uninstall jellyfish
    .venv/bin/pip install -e .
    #.venv/bin/pip install --pre jellyfish # latest Rust version
    .venv/bin/python benchmarks/timedruns.py new >> benchmarks/timedruns-new.csv