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

Cleanup requests dependency and move to examples group #19

Merged
merged 4 commits into from
Sep 6, 2024
Merged
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
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