8000 2580 add optional dependency of watchgod by MEMAndersen · Pull Request #2583 · xlwings/xlwings · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2580 add optional dependency of watchgod #2583

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

Merged

Conversation

MEMAndersen
Copy link
Contributor
@MEMAndersen MEMAndersen commented Feb 21, 2025

Closes #2580

Simply adds a new optional dependency to pyproject.toml of the watchgod library enablings the usage of xlwings vba edit via uv:

uvx --from 'xlwings[vba_edit]' xlwings vba edit"

To test (before it gets merged) use the following:
uvx --from "git+https://github.com/MEMAndersen/xlwings.git@2580-Add-optional-dependency-of-watchgod[vba_edit]" xlwings vba edit

See also https://docs.astral.sh/uv/guides/tools/#requesting-extras

When #1963 is adressed the optional dependency should be updated

It is my first time contributing to anything so please guide or correct me if i am doing something wrong

@fzumstein
Copy link
Member

Thanks and all good! The only thing is that you currently need to also do it here: https://github.com/xlwings/xlwings/blob/main/setup.py#L44-L59 as the Windows packaging still relies on setup.py because of the dll handling.

@MEMAndersen
Copy link
Contributor Author

Thank you for a quick response Felix! I have added the optional dependency to setup.py as well now

@fzumstein fzumstein merged commit 8137da1 into xlwings:main Feb 21, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add optional dependency of watchgod to pyproject.toml to enable use of uvx for running xlwings vba edit
2 participants
0