Skip to content

Commit

Permalink
fix: installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhi committed Mar 8, 2023
1 parent 94f9d38 commit f9c8403
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Install the python. This will also build the TS package.

```bash
# First install the python package. This will also build the JS packages.
yarn install
pip install -e ".[test, examples]"

# Run the python tests. This should not give you a few sucessful example tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
npm install -g codecov
- name: Test the extension
run: |
yarn install
python -m pip install --upgrade -v -e ".[test, examples, docs]"
python -m pytest
yarn run test
Expand Down
1 change: 1 addition & 0 deletions {{cookiecutter.github_project_name}}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ conda activate {{ cookiecutter.python_package_name }}-dev

Install the python. This will also build the TS package.
```bash
yarn install
pip install -e ".[test, examples]"
```

Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.github_project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"hatchling>=1.3.1",
"hatchling>=1.6.0",
"jupyterlab==3.*",
]
build-backend = "hatchling.build"
Expand Down Expand Up @@ -86,7 +86,7 @@ skip-if-exists = [
"{{ cookiecutter.python_package_name }}/labextension/package.json",
]
dependencies = [
"hatch-jupyter-builder>=0.5.0",
"hatch-jupyter-builder>=0.8.2",
]

[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
Expand Down

0 comments on commit f9c8403

Please sign in to comment.