Skip to content

Commit

Permalink
Moar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Dec 21, 2021
1 parent 9baa88c commit a121e1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
- name: Install and build
run: |
python -m pip install --upgrade pip setuptools wheel
pip install git+https://github.com/spacetelescope/ci_watson.git --upgrade --no-deps
python -m pip install -e .[test,all]
- name: Test
run: pytest --remote-data -v
Expand Down
5 changes: 2 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
#
# All configuration values have a default; values that are commented out
# serve to show the default.

from pkg_resources import get_distribution
from importlib import metadata

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -53,7 +52,7 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = get_distribution('acstools').version
release = metadata.version('acstools')
# The short X.Y version.
version = '.'.join(release.split('.')[:2])

Expand Down

0 comments on commit a121e1a

Please sign in to comment.