Skip to content

Commit

Permalink
Merge pull request #14 from bradleyhurley/versioning
Browse files Browse the repository at this point in the history
Pseudo-Automated Versioning
  • Loading branch information
a-hacker authored Mar 20, 2018
2 parents 942c31e + 50c6c86 commit 4423c62
Show file tree
Hide file tree
Showing 8 changed files with 2,368 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PyBall/_version.py export-subst
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: python
python:
- "3.6"
install:
- pip install -r requirements.txt
- pip install -e .[dev]
script:
- "pytest"
- "flake8 ."
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include versioneer.py
include PyBall/_version.py
4 changes: 4 additions & 0 deletions PyBall/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
from .PyBall import PyBall

__all__ = ["PyBall", "models"]

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

0 comments on commit 4423c62

Please sign in to comment.