Skip to content

Commit

Permalink
fix CONTRIBUTING
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan Georget committed Dec 26, 2024
1 parent 4036a45 commit 27a4dd0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
21 changes: 20 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ NUMBA_DISABLE_JIT=1 viztracer --open -m nucs.examples.queens
time NUMBA_CACHE_DIR=.numba/cache PYTHONPATH=. python -m nucs.examples.queens -n 12
```

## Package
## Pip package
### How to build the package
```bash
python -m build
Expand All @@ -54,4 +54,23 @@ python -m build
python -m twine upload --verbose dist/*
```

## Docker image
### How to create an image
```bash
docker build -t nucs .
```

### How to tag an image
```bash
docker tag nucs yangeorget/nucs:<version>
```

### How to publish an image
```bash
docker push yangeorget/nucs:<version>
```

### How to run a container
```bash
docker run -it nucs bash
```
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
copyright = '2024, Yan Georget'
author = 'Yan Georget'

release = '4.3.1'
version = '4.3.1'
release = '4.4'
version = '4.4'

# -- General configuration

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name="NUCS"
version="4.3.1"
version="4.4"
authors = [
{ name="Yan Georget", email="yan.georget@gmail.com" },
]
Expand Down

0 comments on commit 27a4dd0

Please sign in to comment.