Skip to content

Commit

Permalink
Cleanup requests dependency and move to examples group (#19)
Browse files Browse the repository at this point in the history
* Cleanup  requests dependency and move to examples group

* Jupyter group moved to examples and all group added

* Update pyproject.toml

define all using other groups

---------

Co-authored-by: Alex Clerc <alex.clerc@res-group.com>
  • Loading branch information
izofat and aclerc authored Sep 6, 2024
1 parent 34b29c9 commit 79b6493
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ cd wind-up
python -m venv .venv
source .venv/Scripts/activate # or .venv/bin/activate on linux or ".venv/Scripts/activate" in Windows command prompt
# install the package in editable mode with the dev dependencies
pip install -e .[dev] # or .[jupyter,dev] if you want jupyter dependencies as well
pip install -e .[dev] # or .[all] if you want examples dependencies as well or .[examples] if you want only examples dependencies
```
Use `poe all` to run all required pre-push commands (make sure the virtual environment is activated)

Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ dependencies = [
'pydantic >= 2.0.0',
'python-dotenv',
'pyyaml',
'requests',
'ruptures',
'scipy',
'seaborn',
Expand All @@ -47,16 +46,18 @@ dev = [
'types-pyyaml',
'types-tabulate',
'types-toml',
'types-requests',
'types-tqdm',
'ruff',
'mypy',
]
jupyter = [
examples = [
'jupyterlab',
'notebook',
'ipywidgets',
'requests',
'types-requests',
]
all = ["res-wind-up[dev,examples]"]

[tool.setuptools.packages.find]
where = ["."]
Expand Down

0 comments on commit 79b6493

Please sign in to comment.