Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributing doc #75

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Contributing

## set up a test environment

from a fresh / empty Python environment:

```bash
### poetry is the swiss army knife of python dependency management
pip install poetry
### install the dependencies and the current package
poetry install
### run the tests
poetry run test
```

you can also do

```bash
# run quicktest only
poetry run quicktest
# Python repl with the package loaded
poetry run python
# same with ipthon (may need explicit install
poetry run ipython
```
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ numpy = [
setuptools = ">=51.1.2"

# When we build wheels, we always do so with an explicit pinned numpy version
#
#
[tool.poetry.group.wheel_builder]
optional = true

Expand Down