Skip to content

Commit

Permalink
adding a develop.bat file for Windows users
Browse files Browse the repository at this point in the history
  • Loading branch information
travishathaway committed Jan 6, 2025
1 parent 1ff678b commit c6ea32e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions develop.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@echo off

SET "CONDA_ENV_DIR=%CD%\env"
@SET "_CONDABAT=%CONDA_ENV_DIR%\condabin\conda.bat"

@CALL conda "create" "-p" "%CONDA_ENV_DIR%" "--file" "tests\requirements.txt" "--file" "tests\requirements-ci.txt" "--yes"

@CALL conda activate "%CONDA_ENV_DIR%" > NUL
@IF NOT %ErrorLevel%==0 (
@ECHO Error: failed to activate %CONDA_ENV_DIR% 1>&2
@EXIT /B 1
)
@SET "CONDA_BAT=%_CONDABAT%"
@DOSKEY conda="%CONDA_BAT%" $*

@CALL pip "install" "-e" "."

0 comments on commit c6ea32e

Please sign in to comment.