File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2828 source $CONDA/etc/profile.d/conda.sh
2929 conda activate test_vtools3
3030 conda config --set anaconda_upload yes
31+ export SETUPTOOLS_SCM_PRETEND_VERSION=$(python -m setuptools_scm)
3132 conda build -c cadwr-dms -c conda-forge --user cadwr-dms --token "$ANACONDA_CHANNEL_UPLOAD_TOKEN" conda.recipe
3233 conda activate
3334 conda remove -n test_vtools3 --all
Original file line number Diff line number Diff line change 11{# raw is for ignoring templating with cookiecutter, leaving it for use with conda-build -#}
22{% set pyproject = load_file_data('../pyproject.toml', from_recipe_dir=True) %}
33{% set project = pyproject['project'] %}
4- {% set version = load_setup_py_data().get('version', '0.0.0') %}
4+ # {% set version = load_setup_py_data().get('version', '0.0.0') %}
55
66package :
77 name : vtools3
8- version : {{ version }}
8+ version : {{ SETUPTOOLS_SCM_PRETEND_VERSION }}
99
1010source :
1111 path : ..
1515 # separate bld.bat and build.sh files instead of this key. Add the line
1616 # "skip: True # [py<35]" (for example) to limit to Python 3.5 and newer, or
1717 # "skip: True # [not win]" to limit to Windows.
18+ script_env :
19+ - SETUPTOOLS_SCM_PRETEND_VERSION
1820 script : {{ PYTHON }} -m pip install --no-build-isolation --no-deps --ignore-installed -vv .
1921 noarch : python
2022 number : 0
You can’t perform that action at this time.
0 commit comments