Skip to main content

supports github releases

Project description

This extends setuptools with method to create beta and releases for projects.

PyPI version Python versions Build Black

Introduction

The setuptools_github support a simple but reliable way to maintain beta and release branches of a project.

The main model is rather simple, all the code gets developed on the master branch.

A branch (named beta/N.M.O) maintains all the beta releases for a particular release: each one will have a version N.M.Ob<build-no>. Finally tagging the code as release/N.M.O, will formalize the “release” for N.M.O.

Features

Usage in setup.py:

from setuptools_github import tools
initfile = pathlib.Path(__file__).parent / "your_package/__init__.py"
version = tools.update_version(initfile, os.getenv("GITHUB_DUMP"))

Requirements

  • Python >= 3.6.

  • setuptools

Installation

You can install setuptools-github via pip from PyPI:

$ pip install setuptools-github

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

setuptools-github-0.1.0b31.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

setuptools_github-0.1.0b31-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file setuptools-github-0.1.0b31.tar.gz.

File metadata

  • Download URL: setuptools-github-0.1.0b31.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for setuptools-github-0.1.0b31.tar.gz
Algorithm Hash digest
SHA256 06ff270139b901b47d0f392a1cfe39c6d1e5cf169f1744f16480cc8864857034
MD5 8660e0df6add65bbdda65d113df8dbc0
BLAKE2b-256 c0891e3d85c82a18b990ece56d6554bcff035502efa1bb4b9ba4b2bb3e4f8f38

See more details on using hashes here.

File details

Details for the file setuptools_github-0.1.0b31-py3-none-any.whl.

File metadata

  • Download URL: setuptools_github-0.1.0b31-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for setuptools_github-0.1.0b31-py3-none-any.whl
Algorithm Hash digest
SHA256 597b9cc797121f2acf21a42d517ebce50935d130de4521fba08862c362c2d273
MD5 55eaec83d6a8006b70f2aa28d7732d17
BLAKE2b-256 eae8caf00b5e43cdbd3fba49adc88d6f37ee44ad2238b90059a22af63d6eb296

See more details on using hashes here.

Supported by

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