Skip to main content

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
[get the version from ./releasecmd/__version__.py]
[create a git tag: v0.0.15]
[push git tags]
[upload packages to PyPI]
...

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

Create a GPG signed tag

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

Skip create a git tag

$ python setup.py release --skip-tagging
running release
...

Dependencies

Project details


Download files

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

Source Distribution

releasecmd-0.0.17.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

releasecmd-0.0.17-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file releasecmd-0.0.17.tar.gz.

File metadata

  • Download URL: releasecmd-0.0.17.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for releasecmd-0.0.17.tar.gz
Algorithm Hash digest
SHA256 04718c19458c9baa788b2e9014283a80e87f9afcf0fbdaae92918a87c67a2e69
MD5 826fe29cbd1f4a58cb7a71e8ef9b3a2a
BLAKE2b-256 3f73e9d80c23ee4515afa8f3d1fac30fed3790ac596373d11619146a983030ac

See more details on using hashes here.

File details

Details for the file releasecmd-0.0.17-py2.py3-none-any.whl.

File metadata

  • Download URL: releasecmd-0.0.17-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for releasecmd-0.0.17-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a20c67c11357bdeaad6aef70faa1e5b319c8387d54db43240cd84d7b9eeee5c
MD5 32a3a9acab0f11c303f6e8f46ad53a46
BLAKE2b-256 3dbf458e8c7ddba486689b1ef6809f702d214e723a4d5c31ba8645adfe574610

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page