-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added bump-my-version * configure version * added project config * update pyproject.toml * added changes.md * added dev_guide * update readme: console instead of bash
- Loading branch information
Showing
9 changed files
with
317 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## v0.1.0 (2024-12-04) | ||
|
||
Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Developer Guide | ||
|
||
## Building the docs | ||
|
||
Run the mkdocs generator: | ||
|
||
```console | ||
$ make docs | ||
``` | ||
|
||
## Running tests | ||
|
||
Run tests using [pytest](https://docs.pytest.org/en/latest/). | ||
|
||
```console | ||
$ make test | ||
$ make lint | ||
``` | ||
|
||
## Prepare a release | ||
|
||
Update the Conda specification file to build identical | ||
[environments](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#building-identical-conda-environments) | ||
on a specific OS. | ||
|
||
|
||
**You should run this on your target OS, in our case Linux.** | ||
|
||
``` console | ||
$ conda env create -f environment.yml | ||
$ source activate rook | ||
§ rm poetry.lock | ||
$ make clean | ||
$ make install | ||
$ conda list -n nandu --explicit > spec-list.txt | ||
``` | ||
|
||
## Bump a new version | ||
|
||
Make a new version of nandu in the following steps: | ||
|
||
- Make sure everything is commited to GitHub. | ||
- Update `CHANGES.md` with the next version. | ||
- Dry Run: `bump-my-version bump --dry-run --verbose --new-version 0.8.1 patch` | ||
- Do it: `bump-my-version bump --new-version 0.8.1 patch` | ||
- \... or: `bump-my-version bump --new-version 0.9.0 minor` | ||
- Push it: `git push` | ||
- Push tag: `git push --tags` | ||
|
||
See the [bumpversion](https://pypi.org/project/bump-my-version/) | ||
documentation for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
site_name: Nandu | ||
nav: | ||
- Home: index.md | ||
- Developer Guide: dev_guide.md | ||
theme: material |
Oops, something went wrong.