Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 563 Bytes

release.md

File metadata and controls

24 lines (19 loc) · 563 Bytes
  • To build the package, use setuptools:
python setup.py sdist bdist_wheel
  • To upload the package to PyPI, use twine:

For the frsit time,

pip install twine       # if haven't done so
twine upload dist/*     # register an account in https://pypi.org/

For version, first upgrade in setup.py, then

twine upload --skip-existing dist/*  
  • To run the package in a command line
pip install openapi2tools # or, pip install --upgrade openapi2tools==<version>
openapi2tools <Your OpenAPI json> <Output python file name>