Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

releasecmd is a release subcommand for setup.py (setuptools.setup). the subcommand create a git tag and push, and upload packages to PyPI.

Project description

releasecmd

PyPI package version Supported Python versions

Summary

releasecmd is a release subcommand for setup.py (setuptools.setup). The subcommand create a git tag and push, and upload packages to PyPI.

The subcommand class (releasecmd.ReleaseCommand) is implemented as a subclass of setuptools.Command class. The release subcommand does the followings:

  1. Find a file that defined the package version
  2. Create a git tag from the package version information
  3. Push git tags
  4. Upload package files to PyPI by using twine

Example

$ python setup.py release
running release
[get the version from ./releasecmd/__version__.py]
[create a git tag: v0.0.15]
[push git tags]
[upload the package to PyPI]
...

Before execute, need to exist uploading binaries in dist/ directory.

Create a GPG signed tag

$ python setup.py release --sign
running release
[get the version from ./releasecmd/__version__.py]
[create a git tag with gpg signing: v0.0.15]
[push git tags]
[upload the package to PyPI]
...

Skip create a git tag

$ python setup.py release --skip-tagging
running release
[get the version from ./releasecmd/__version__.py]
[push git tags]
[upload the package to PyPI]
...

Dependencies

Python 2.7+ or 3.5+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for releasecmd, version 0.0.20
Filename, size File type Python version Upload date Hashes
Filename, size releasecmd-0.0.20-py2.py3-none-any.whl (5.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size releasecmd-0.0.20.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page