Skip to content

Commit

Permalink
add commit hash to conda name
Browse files Browse the repository at this point in the history
  • Loading branch information
ejolly committed Sep 8, 2023
1 parent 4a8227f commit 7cec827
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*.DS_Store
*.ipynb_checkpoints
*.pyc
build/*
build/
docs/_build/
docs/modules/
.cache/*
Expand All @@ -26,3 +26,4 @@ conda/build_main/*
environment.yml
*.pickle
*.joblib
conda_noarch
15 changes: 4 additions & 11 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,12 @@ source:

build:
script: pip install . -vv --no-deps
# abandoned conda build GIT_BUILD_STRING env variable
string: py{{environ.get("CONDA_PY", "XX")}}{{environ.get("GIT_ABBREV_COMMIT", "no_git_abbrev_commit") }}_{{ environ.get("PKG_BUILDNUM", "no_pkg_buildnum") }}
string: py{{environ.get("CONDA_PY", "XX")}}{{environ.get("GIT_DESCRIBE_HASH", "no_git_abbrev_commit") }}_{{ environ.get("PKG_BUILDNUM", "no_pkg_buildnum") }}

requirements:

host:
- python {{ python }}
# - r-base
# - r-lmerTest
# - r-base
- pip
- numpy >=1.20

Expand All @@ -37,9 +33,6 @@ requirements:
- joblib
- scipy
- scikit-learn
# {% for req in data.get('install_requires', []) %}
# - {{ req }}
# {% endfor %}

test:
imports:
Expand All @@ -58,6 +51,6 @@ about:
doc_url:
dev_url:

# extra:
# recipe-maintainers:
# - your-github-id-here
extra:
recipe-maintainers:
- ejolly

0 comments on commit 7cec827

Please sign in to comment.