Skip to content

Commit fe6ff8c

Browse files
authored
Merge pull request #15 from klauer/fix_requirements
BLD/CI: update package to use versioneer, pypi
2 parents c933093 + cba2373 commit fe6ff8c

26 files changed

+3081
-216
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
archapp/_version.py export-subst

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ env:
77
- secure: ""
88
matrix:
99
include:
10-
- python: 3.6
11-
env: BUILD_DOCS=1
1210
- python: 3.7
11+
- python: 3.8
12+
- python: 3.9
13+
env: BUILD_DOCS=1
1314

1415
install:
1516
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
@@ -32,7 +33,8 @@ install:
3233
- source activate test-environment
3334

3435
script:
35-
- echo "HELLO WORLD!"
36+
- python -m pip install pytest
37+
- pytest -v archapp/tests/test_print_formats.py archapp/tests/test_dates.py
3638

3739
after_success:
3840
- |

MANIFEST.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include setup.cfg
2+
include versioneer.py
3+
include requirements.txt
4+
include LICENSE.md
5+
6+
include archapp/_version.py

archapp/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
__version__ = "1.0.0"
1+
from . import _version
2+
3+
__version__ = _version.get_versions()["version"]

0 commit comments

Comments
 (0)