Mentioned plugins

This commit is contained in:
Brandon Rozek 2020-05-01 00:51:31 -04:00
parent adfb4fac36
commit 70bcf28a2f

View file

@ -5,7 +5,7 @@ draft: false
tags: ["python"] tags: ["python"]
--- ---
It is possible to make different package group of optional dependencies for a Python package. This is useful if you want to include an extra set of dependencies for developers/maintainers of the package. [OpenAI Gym uses it](https://github.com/openai/gym/blob/67212547ac29296839434324a0d5996e48fae840/setup.py) to denote different categories of environments you can setup. It is possible to make different package group of optional dependencies for a Python package. This is useful if you want to include an extra set of dependencies for developers/maintainers of the package. We can also define a plugin-based package similarly to how [OpenAI Gym uses it](https://github.com/openai/gym/blob/67212547ac29296839434324a0d5996e48fae840/setup.py) to denote different categories of environments you can setup.
```python ```python
from setuptools import setup, find_packages from setuptools import setup, find_packages