Skip to content

Commit

Permalink
Merge pull request #5 from brandonwillard/use-versioneer
Browse files Browse the repository at this point in the history
Use versioneer
  • Loading branch information
brandonwillard committed Dec 22, 2019
2 parents a08d03b + 35334c0 commit cf170b0
Show file tree
Hide file tree
Showing 10 changed files with 2,415 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cons/_version.py export-subst
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ python:
- "pypy3"

install:
- pip install -r requirements-dev.txt
- pip install -e ./
- pip install -r requirements.txt

script:
- pylint cons/ tests/
Expand Down
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 cons/_version.py
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ pip install cons


[cons]: https://en.wikipedia.org/wiki/Cons
[un]: https://github.com/mrocklin/unification
[un]: https://github.com/pythological/unification
5 changes: 5 additions & 0 deletions cons/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
from .core import cons, car, cdr # noqa: F401

from . import unify # noqa: F401

from ._version import get_versions

__version__ = get_versions()["version"]
del get_versions

0 comments on commit cf170b0

Please sign in to comment.