Skip to content

Commit

Permalink
Merge pull request #41 from cerbernetix/feature/correct-readme-instru…
Browse files Browse the repository at this point in the history
…ctions

Feature/Correct the readme instructions
  • Loading branch information
jsconan authored Oct 27, 2023
2 parents 37e1935 + 46a8c18 commit 352d8af
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Correct the readme instructions for installing the package.

## [0.9.0] - 2023-10-26

### Changed
Expand Down
29 changes: 23 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [Development](#Development)
- [Code style](#Codestyle)
- [Testing](#Testing)
- [Document](#Document)
- [License](#License)

<!-- vscode-markdown-toc-config
Expand All @@ -26,10 +27,22 @@ The dependencies are managed by `pip` using the file `requirements.txt`.

## <a name='Installation'></a>Installation

To add `py-toolbox` to your project, run the following command:
To add `py-toolbox` to your project, run the following command. This will add the last released version to you project:

```sh
pip install git+https://github.com/cerbernetix/py-toolbox.git
pip install --upgrade cerbernetix.toolbox
```

For getting the last unstable version, the package needs to be installed from the source code. The following command will grab the last develop version:

```sh
pip install --upgrade git+https://github.com/cerbernetix/py-toolbox.git@develop
```

If you prefer using ssh:

```sh
pip install --upgrade git+ssh://git@github.com/cerbernetix/py-toolbox.git@develop
```

## <a name='Usage'></a>Usage
Expand All @@ -38,10 +51,6 @@ pip install git+https://github.com/cerbernetix/py-toolbox.git

Please refer to the [documentation](./docs/README.md) for more information.

The documentation is generated using [lazydocs](https://github.com/ml-tooling/lazydocs).

The script `./pydoc.sh` can be used to regenerate it.

## <a name='Development'></a>Development

Check out the repository:
Expand Down Expand Up @@ -104,6 +113,14 @@ Unit tests are made using `unittest`. To run them:
python3 -m unittest
```

### <a name='Document'></a>Document

Docstrings are written following the [Google docstrings format](https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings).

The documentation is generated using [lazydocs](https://github.com/ml-tooling/lazydocs).

The script `./pydoc.sh` can be used to regenerate it.

## <a name='License'></a>License

Copyright (c) 2023 Jean-Sébastien CONAN
Expand Down

0 comments on commit 352d8af

Please sign in to comment.