Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.65 KB

Submission.md

File metadata and controls

63 lines (41 loc) · 1.65 KB

Submission to PyPi

Submission

Tutorials

Python Documentation

Real Python

Medium Article

Checklist

  • Update Version in setup.cfg
  • Update download URL in setup.cfg
  • Update Version in src/scep/init.py
  • Commit and Push to Github
  • Create a release on Github

Commands

# Install build package
python -m pip install --upgrade build --user

# Install twine package
python -m pip install --upgrade twine --user

# Build the code
python -m build --wheel

# Upload to test server
python -m twine upload --repository testpypi dist/PyScep-{version}-py2.py3-none-any.whl

# Install from test server
pip install -i https://test.pypi.org/simple/ PyScep=={version}

# Uninstall the test version
pip uninstall PyScep=={version}

# Upload to production server
python -m twine upload --repository pypi dist/PyScep-{version}-py2-none-any.whl

# Install from production server
python -m pip install --upgrade PyScep --user

Helpful examples:

PKCS7 Detached

CMS Signed Data

PKCS1

SCEPy

SSCEP

EST Client

Example Search

jscep

certbot