Skip to content

Commit

Permalink
ok let's see how conda falls over this time
Browse files Browse the repository at this point in the history
  • Loading branch information
lizgehret committed Aug 1, 2024
1 parent 9ce309a commit f6950f3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.PHONY: all lint test test-cov install dev clean distclean

PYTHON ?= python

all: ;

lint:
Expand All @@ -13,7 +15,7 @@ test-cov: all
py.test --cov=q2_vizard

install: all
pip install .
$(PYTHON) -m build --wheel

dev: all
pip install -e .
Expand Down
6 changes: 4 additions & 2 deletions ci/recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set data = load_setup_py_data() %}
{% set version = data.get('version') or 'placehold' %}
{%- set pyproject_toml = load_file('..', 'pyproject.toml') | parse_toml %}
{%- set version = pyproject_toml.get('project', {}).get('version', 'placehold') %}

package:
name: q2-vizard
Expand All @@ -20,7 +20,9 @@ requirements:

host:
- python {{ python }}
- pip
- setuptools
- wheel

run:
- python {{ python }}
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
requires = [
'setuptools>=64',
'setuptools_scm>=8',
'versioneer[toml]'
'versioneer[toml]',
'wheel'
]
build-backend = 'setuptools.build_meta'

Expand Down

0 comments on commit f6950f3

Please sign in to comment.