-
Notifications
You must be signed in to change notification settings - Fork 16
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
Required packages for documentation build only listed in nox [docs] session #30
Comments
I am not against it, but I am not sure that my An alternative is to provide requirements files in a folder named
Users not wishing to use conda can install all requirements files with pip. Note that personally I use PyCharm, and I simply tell PyCharm to use the python.exe created by nox in the |
Note: there is already a |
No problem, I was just asking. I find the possibility to install extra dependencies by specifying a
Why do you need some packages to be installed by conda, and the others by pip? Why not everything through pip? I usually consider that 'if it works with pip, it should work with conda as well'...
Understood. That's clever and might be useful sometimes. It's just that I like to be able to do everything in the conda virtual environment I create when I start a project (no need to switch between environments in PyCharm, whether I want to build the docs, run the tests or check the CLI). |
Move (or duplicate?) list of packages needed to build mkdocs-gallery documentation from
noxfile.py
(MKDOCS_GALLERY_EXAMPLES_REQS
list) tosetup.cfg
as optional dependencies?Refer to https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies.
For example:
Thus, the following command can be used to install these dependencies in the current Python virtual env:
pip install -e .[docs]
This can be useful for debugging puposes, when one needs to run
mkdocs build
without usingnox
.The text was updated successfully, but these errors were encountered: