Skip to content

Commit

Permalink
add release insturctions
Browse files Browse the repository at this point in the history
  • Loading branch information
TG Gowda committed Mar 20, 2024
1 parent 5002ffb commit 4149ec5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ __pycache__
*.egg-info
build/
.history*
dist/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# NLLB Serve
[![image](http://img.shields.io/pypi/v/nllb-serve.svg)](https://pypi.python.org/pypi/nllb-serve/)

This project offers a web interface and REST API to Meta's No Language Left Behind (NLLB) models that can translate across 200 languages.

Expand Down
5 changes: 3 additions & 2 deletions docs/release-pipi.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Release instructions

> setup `pip install --upgrade pip build`
Using twine : https://twine.readthedocs.io/en/latest/

1. Update the `__version__` in `mtdata/__init__.py`
Clear `rm -r build dist *.egg-info` if those dir exist.
2. Build :: `$ python setup.py sdist bdist_wheel`
where `sdist` is source code; `bdist_wheel` is universal ie. for all platforms
2. Build :: `$ python -m build --no-isolation --sdist --wheel -o dist `
3. Make docs: `docs/make-docs.sh`
4. Upload to **testpypi** :: `$ twine upload -r testpypi dist/*`
5. Upload to **pypi** :: `$ twine upload -r pypi dist/*`
Expand Down

0 comments on commit 4149ec5

Please sign in to comment.