Skip to content

Instantly share code, notes, and snippets.

@joepreludian
Created July 11, 2021 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joepreludian/04be6b43adad47cba8cc82cfeaa28a4a to your computer and use it in GitHub Desktop.
Save joepreludian/04be6b43adad47cba8cc82cfeaa28a4a to your computer and use it in GitHub Desktop.
# In order to add your repository, change my_pypi for whatever you want
$ poetry config repositories.my_pypi http://localhost:8010/
# Creating a default credential
$ poetry config http-basic.my_pypi <the_user_you_created> <your_password>
# In order to publish your package, just run this
$ poetry publish --repository my_pypi --build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment