Skip to content

Commit

Permalink
Added versioneer for managing version numbers
Browse files Browse the repository at this point in the history
Merge pull request #1 from sequence-dev/mcflugen/add-versioneer
  • Loading branch information
mcflugen committed Aug 24, 2018
2 parents 4293650 + 9ef669b commit 646bb3f
Show file tree
Hide file tree
Showing 8 changed files with 2,359 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
sequence/_version.py export-subst
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -33,7 +33,7 @@ install:
- conda create -n _testing python=$TRAVIS_PYTHON_VERSION
- source activate _testing
- conda install -q coveralls
- conda install -q --file=requirements_dev.txt
- conda install -q --file=requirements_dev.txt -c conda-forge -c landlab
script:
- pytest --cov=sequence --cov-report= --cov-report=xml
after_success:
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Expand Up @@ -9,3 +9,5 @@ recursive-exclude * __pycache__
recursive-exclude * *.py[co]

recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
include versioneer.py
include sequence/_version.py
12 changes: 4 additions & 8 deletions README.rst
Expand Up @@ -3,19 +3,15 @@ sequence
========


.. image:: https://img.shields.io/pypi/v/sequence.svg
:target: https://pypi.python.org/pypi/sequence

.. image:: https://img.shields.io/travis/mcflugen/sequence.svg
:target: https://travis-ci.org/mcflugen/sequence
.. image:: https://img.shields.io/travis/sequence-dev/sequence.svg
:target: https://travis-ci.org/sequence-dev/sequence

.. image:: https://readthedocs.org/projects/sequence/badge/?version=latest
:target: https://sequence.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status


.. image:: https://pyup.io/repos/github/mcflugen/sequence/shield.svg
:target: https://pyup.io/repos/github/mcflugen/sequence/
.. image:: https://pyup.io/repos/github/sequence-dev/sequence/shield.svg
:target: https://pyup.io/repos/github/sequence-dev/sequence/
:alt: Updates


Expand Down
4 changes: 4 additions & 0 deletions sequence/__init__.py
Expand Up @@ -2,3 +2,7 @@


__all__ = ["SubmarineDiffuser"]

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions

0 comments on commit 646bb3f

Please sign in to comment.