Skip to content

Commit 6921989

Browse files
committed
Aggiorna le istruzioni di build per pulire la cartella dist e specificare i file da caricare con twine
1 parent 6add29d commit 6921989

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

DEVELOPMENT.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,14 @@ source .venv/bin/activate # Linux/macOS
191191
# or
192192
.venv\Scripts\activate # Windows
193193

194+
# Clean dist before building/uploading (avoid non-PyPI artifacts)
195+
rm -f dist/*
196+
194197
# Build
195198
python3 setup.py sdist bdist_wheel
196199

197200
# Upload (twine already installed)
198-
twine upload dist/*
201+
twine upload dist/*.tar.gz dist/*.whl
199202
```
200203

201204
## GitHub Release

0 commit comments

Comments
 (0)