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.0.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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