Add versioning scripts and update README for packaging instructions
This commit is contained in:
parent
904f4e487e
commit
2be62e36fd
5 changed files with 257 additions and 0 deletions
26
README.md
26
README.md
|
|
@ -43,6 +43,32 @@ Install development dependencies when you want tests and code generation tooling
|
|||
& .\.venv\Scripts\python.exe -m pip install -e .[dev]
|
||||
```
|
||||
|
||||
## Packaging
|
||||
|
||||
Print the current package version:
|
||||
|
||||
```powershell
|
||||
& .\.venv\Scripts\python.exe .\scripts\set_version.py --print-current
|
||||
```
|
||||
|
||||
Update the package version in `pyproject.toml`:
|
||||
|
||||
```powershell
|
||||
& .\.venv\Scripts\python.exe .\scripts\set_version.py 0.1.1
|
||||
```
|
||||
|
||||
Build a wheel into `dist\`:
|
||||
|
||||
```powershell
|
||||
& .\.venv\Scripts\python.exe .\scripts\build_wheel.py
|
||||
```
|
||||
|
||||
Set the version and build the wheel in one step:
|
||||
|
||||
```powershell
|
||||
& .\.venv\Scripts\python.exe .\scripts\build_wheel.py --version 0.1.1
|
||||
```
|
||||
|
||||
Create a client with your eBay credentials:
|
||||
|
||||
```python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue