Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 648 Bytes

BUILD.md

File metadata and controls

31 lines (22 loc) · 648 Bytes

Pypechain build to pypi

To create the distribution, first update the version by updating the version field in the pyproject.toml:

# pyproject.toml

# change this line according to semver
version = "0.0.5"

Next, build the distribution:

python -m build

This will generate distribution files in the dist/ directory. To upload to PyPI run (You'll be prompted for your PyPI credentials):

# twine upload dist/pypechain-[VERSION]*
twine upload dist/pypechain-0.0.1*

Optionally, you can setup a .env (see .env.sample) file with your pypi username and passowrd and run:

./scripts/upload_latest.sh