PIP and GIT release

c1
c2
Fast AI in Docker Container

Github Connection

create ssh on computer

ssh-keygen -t ed25519 -C "your_email@example.com"

Add it to ssh agent

ssh-add /c/Users/YOU/.ssh/id_ed25519

Connect it to github

ssh -T git@github.com

Github release

Add github token to .bashrc

Generate personal access classic token from github

export GITHUB_TOKEN=<github_token>

bump version

nbdev_bump_version
nbdev_release_git

Install twine

pip install twine

Add pypi token to ./pypirc

Generate token from Pypi

[pypi]
  username = __token__
  password = <pypi-token>

Nbdev Command

First bump version

nbdev_bump_version

pip upload

nbdev_pypi
Back to top