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

add convinence extras, called "all" #38

Merged
merged 1 commit into from
Sep 2, 2020
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 .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ jobs:
run: |
pip install poetry
poetry update --lock
poetry install -E redis -E rabbit -E kafka
poetry install -E all
poetry publish --username=$(PYPI_USERNAME) --password=$(PYPI_PASSWORD) --build
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ rabbit = ["pika"]
kafka = ["kafka-python"]
azure = ["azure-storage-blob", "cffi"]

all = ["redis", "pika", "kafka-python", "azure-storage-blob", "cffi"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no way to nest extras?

Copy link
Contributor Author

@aviramha aviramha Sep 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# install poetry and the dev-dependencies of the project
python -m pip install poetry
python -m poetry update --lock
python -m poetry install -E redis -E rabbit -E kafka -E azure
python -m poetry install -E all