Skip to content

Commit 4e52ca1

Browse files
committed
Readme
1 parent 597a1fd commit 4e52ca1

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,42 @@ determine which plugin is to blame before posting issues here or [there](https:/
1010

1111
## Project Status
1212

13-
This project is in a very phase of development and not yet recomended for production.
13+
This project is in a very phase of development and not yet recomended for production.
14+
15+
## Running Tests
16+
17+
To run unit tests ensure you have installed the project with all groups (default) or at least `main,dev`.
18+
19+
Run tests with:
20+
```
21+
poetry run pytest
22+
```
23+
24+
## Building the Project
25+
26+
This project uses poetry and poetry-dynamic versioning.
27+
28+
You must either do a full git clone (default) not a shallow one, or you must otherwise ensure git can describe your
29+
checkout version in terms of tags:
30+
31+
```shell
32+
git describe --tags
33+
```
34+
35+
### Building without using poetry directly
36+
37+
You use a [PEP 517](https://peps.python.org/pep-0517/) build front-end like [build](https://pypi.org/project/build/)
38+
39+
```shell
40+
python3 -m pip install build
41+
python3 -m build <project dir>
42+
```
43+
44+
### Building via poetry
45+
46+
```shell
47+
poetry self add poetry-dynamic-versioning
48+
cd <project dir>
49+
poetry build
50+
51+
```

0 commit comments

Comments
 (0)