Skip to content

Commit

Permalink
version set to cookiecutter's version
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeankit committed Jul 21, 2023
1 parent 41e3d1f commit 4f487ad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/scicookie/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
"""SciCookie is a wrap around cookiecutter/cookieninja with a better TUI."""

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ classifiers = [
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
dynamic = ["version"]
version = "{{ cookiecutter.project_version }}"
requires-python = ">=3.8.1"
dependencies = [
{# keep this line here #}
Expand Down
13 changes: 6 additions & 7 deletions tests/smoke/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export PATH=$(echo $PATH| sed -E "s/[^:]+\/micromamba\/[^:]+//g")
export PATH=$(echo $PATH| sed -E "s/[^:]+\/anaconda3\/[^:]+//g")
export PATH="${CONDA_PREFIX}:${CONDA_PREFIX}/bin:$PATH"
echo "[II] included env conda to the PATH"
COMMAND_PREFIX="hatch run"
COMMAND_PREFIX=
if command -v poetry &> /dev/null; then
poetry install
elif command -v flit &> /dev/null; then
Expand All @@ -50,20 +50,19 @@ elif command -v meson &> /dev/null; then
elif command -v pdm &> /dev/null; then
pdm install
elif command -v hatch &> /dev/null; then
$COMMAND_PREFIX pytest .
$COMMAND_PREFIX ipython kernel install --name "python3" --user
COMMAND_PREFIX="hatch run"

else
# use setuptools
pip install --editable .
fi

ipython kernel install --name "python3" --user
$COMMAND_PREFIX ipython kernel install --name "python3" --user

pre-commit install
pre-commit run --all-files --verbose
$COMMAND_PREFIX pre-commit install
$COMMAND_PREFIX pre-commit run --all-files --verbose

make docs-build
$COMMAND_PREFIX make docs-build
make build

export PATH=${PATH_ORI}
Expand Down

0 comments on commit 4f487ad

Please sign in to comment.