Skip to main content

setuptools_scm plugin to include build number

Project description

Travis AppVeyor Coverage Updates PyPI

This is a setuptools_scm plugin that provides the node-date-and-build-number local scheme.

Build number is read from the BUILD_NUMBER environment variable.

Usage

Add 'setuptools_scm_build_number' to the setup_requires parameter in your project’s setup.py file:

setup(
    ...,
    use_scm_version={
        'local_scheme': 'node-date-and-build-number'
    },
    setup_requires=['setuptools_scm', 'setuptools_scm_build_number'],
    ...,
)

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

setuptools_scm_build_number-1.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

setuptools_scm_build_number-1.0-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 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