Skip to content

Fix setup.py to find the namespace package #6

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
merged 2 commits into from
Feb 23, 2022

Conversation

pawamoy
Copy link
Member

@pawamoy pawamoy commented Feb 22, 2022

mkdocstrings/mkdocstrings#387

Confirmed it worked by installing the package with pip install . in a venv, moving to a completely different directory, and running from mkdocstrings_handlers import vba in the venv's Python interpreter.

@rudolfbyker
Copy link
Collaborator

Very nice, thanks!

We use black to lint our code. It's expecting double-quotes:

     url="https://github.com/AutoActuary/mkdocstrings-vba",
-    packages=setuptools.find_namespace_packages(include=['mkdocstrings_handlers.*']),
+    packages=setuptools.find_namespace_packages(include=["mkdocstrings_handlers.*"]),
     classifiers=[

@rudolfbyker rudolfbyker merged commit 2181eaf into mkdocstrings:master Feb 23, 2022
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.

2 participants