Update commands for pypi test

This commit is contained in:
Lysandre
2020-01-31 09:48:15 -05:00
parent 6664ea943d
commit 8036ceb7c5

View File

@@ -23,6 +23,8 @@ To create the package for pypi.
twine upload dist/* -r pypitest twine upload dist/* -r pypitest
(pypi suggest using twine as other methods upload files via plaintext.) (pypi suggest using twine as other methods upload files via plaintext.)
You may have to specify the repository url, use the following command then:
twine upload dist/* -r pypitest --repository-url=https://test.pypi.org/legacy/
Check that you can install it in a virtualenv by running: Check that you can install it in a virtualenv by running:
pip install -i https://testpypi.python.org/pypi transformers pip install -i https://testpypi.python.org/pypi transformers