Skip to content

Commit 3736909

Browse files
committed
override setuptools-scm version in conda/rattler builds
1 parent 0e7640d commit 3736909

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

package/moleculekit/build.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1+
@echo on
2+
setlocal enabledelayedexpansion
3+
4+
rem Inject version from rattler/conda build environment
5+
set SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION%
6+
17
%PYTHON% -m build -v -w --no-isolation
28
for %%F in (dist\*.whl) do %PYTHON% -m pip install "%%F"

package/moleculekit/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
export SETUPTOOLS_SCM_PRETEND_VERSION=${PKG_VERSION}
12
$PYTHON -m build -v -w --no-isolation
23
$PYTHON -m pip install dist/*.whl

0 commit comments

Comments
 (0)