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

Install formatter with Behave (via extras_require) #5

Closed
bittner opened this issue Dec 11, 2020 · 1 comment · Fixed by behave/behave#988
Closed

Install formatter with Behave (via extras_require) #5

bittner opened this issue Dec 11, 2020 · 1 comment · Fixed by behave/behave#988
Labels
help wanted Extra attention is needed

Comments

@bittner
Copy link
Member

bittner commented Dec 11, 2020

If we want to make it easy to include this formatter with a Behave installation we should add it as an optional dependency in the Behave project, e.g.

# FILE: setup.py
...
    extras_require={
        'html': ["behave-html-formatter"],
...

Install instructions would then look like, e.g.

python3 -m pip install behave[html]

Formatter Auto-Detection

Also, we may want to consider implementing some kind of auto-detection for formatters like ours in Behave, to avoid cumbersome setup instructions and puzzled users.

@bittner bittner added the help wanted Extra attention is needed label Dec 11, 2020
@jenisys
Copy link
Member

jenisys commented Dec 12, 2021

@bittner
Just provide a pull-request in the behave project for "setup.py" (with the changed snippet and the reasoning from here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

Successfully merging a pull request may close this issue.

2 participants