Skip to content

Commit

Permalink
Improve version tracking. Install VCF dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jrm5100 committed Oct 19, 2020
1 parent 346024e commit 1d2e51d
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 49 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
poetry config virtualenvs.path ~/.virtualenvs
- name: Install Dependencies
run: poetry install
run: |
poetry install
poetry install -E vcf
if: steps.cache.outputs.cache-hit != 'true'

- name: Code Quality
Expand Down
8 changes: 6 additions & 2 deletions pandas_genomics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata

from . import arrays, io, scalars
from .accessors import GenotypeAccessor

# Simple version tracking for now until Poetry has a solution
__version__ = "v0.3.0"
__version__ = importlib_metadata.version(__name__)

__all__ = [__version__, GenotypeAccessor, arrays, io, scalars]
81 changes: 41 additions & 40 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d2e51d

Please sign in to comment.