fix
This commit is contained in:
parent
a146dd80e4
commit
6424ecaaf5
44
README.md
44
README.md
@ -172,30 +172,9 @@ And of course you can also import this function in `__init__.py` so
|
|||||||
that it can be imported from the package directly.
|
that it can be imported from the package directly.
|
||||||
|
|
||||||
|
|
||||||
## Distribute your package
|
|
||||||
|
|
||||||
Full pyproject.toml file...
|
|
||||||
|
|
||||||
README.md
|
|
||||||
|
|
||||||
LICENSE
|
|
||||||
|
|
||||||
[PyPi](https://pypi.org/)
|
|
||||||
|
|
||||||
```sh
|
|
||||||
python3 -m build
|
|
||||||
```
|
|
||||||
|
|
||||||
```sh
|
|
||||||
python3 -m twine upload dist/*
|
|
||||||
```
|
|
||||||
|
|
||||||
token
|
|
||||||
|
|
||||||
|
|
||||||
## Versioning
|
## Versioning
|
||||||
|
|
||||||
Your package needs a version number (for details se below). But how to
|
Your package needs a version number (for details see below). But how to
|
||||||
choose the right version number? A nice and brief overview is given at
|
choose the right version number? A nice and brief overview is given at
|
||||||
the [Python Packaging User
|
the [Python Packaging User
|
||||||
Guide](https://packaging.python.org/en/latest/discussions/versioning/).
|
Guide](https://packaging.python.org/en/latest/discussions/versioning/).
|
||||||
@ -273,6 +252,27 @@ dynamic = ["version"]
|
|||||||
version = {attr = "numerix.__version__"}
|
version = {attr = "numerix.__version__"}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Distribute your package
|
||||||
|
|
||||||
|
Full pyproject.toml file...
|
||||||
|
|
||||||
|
README.md
|
||||||
|
|
||||||
|
LICENSE
|
||||||
|
|
||||||
|
[PyPi](https://pypi.org/)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
python3 -m build
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
python3 -m twine upload dist/*
|
||||||
|
```
|
||||||
|
|
||||||
|
token
|
||||||
|
|
||||||
|
|
||||||
## Unit tests
|
## Unit tests
|
||||||
|
|
||||||
pytest
|
pytest
|
||||||
|
Loading…
Reference in New Issue
Block a user