Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greatfruitomsk/setuptools_scm_build_number
setuptools_scm plugin to include build number from CI
https://github.com/greatfruitomsk/setuptools_scm_build_number
continuous-integration python setuptools setuptools-scm
Last synced: about 2 months ago
JSON representation
setuptools_scm plugin to include build number from CI
- Host: GitHub
- URL: https://github.com/greatfruitomsk/setuptools_scm_build_number
- Owner: GreatFruitOmsk
- License: mit
- Created: 2017-12-15T21:44:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-15T22:31:14.000Z (about 7 years ago)
- Last Synced: 2024-10-31T11:58:50.894Z (about 2 months ago)
- Topics: continuous-integration, python, setuptools, setuptools-scm
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. image:: https://travis-ci.org/GreatFruitOmsk/setuptools_scm_build_number.svg?branch=master
:target: https://travis-ci.org/GreatFruitOmsk/setuptools_scm_build_number
:alt: Travis
.. image:: https://ci.appveyor.com/api/projects/status/abqxn2vbk5k2styb/branch/master?svg=true
:target: https://ci.appveyor.com/project/GreatFruitOmsk/setuptools_scm_build_number
:alt: AppVeyor
.. image:: https://codecov.io/gh/GreatFruitOmsk/setuptools_scm_build_number/branch/master/graph/badge.svg
:target: https://codecov.io/gh/GreatFruitOmsk/setuptools_scm_build_number
:alt: Coverage
.. image:: https://pyup.io/repos/github/GreatFruitOmsk/setuptools_scm_build_number/shield.svg
:target: https://pyup.io/repos/github/GreatFruitOmsk/setuptools_scm_build_number/
:alt: Updates
.. image:: https://img.shields.io/pypi/v/setuptools_scm_build_number.svg
:target: https://pypi.python.org/pypi/setuptools_scm_build_number
:alt: PyPIThis 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:.. code:: python
setup(
...,
use_scm_version={
'local_scheme': 'node-date-and-build-number'
},
setup_requires=['setuptools_scm', 'setuptools_scm_build_number'],
...,
)