# The 'extra' environment marker and its operators

**URL:** <https://discuss.python.org/t/the-extra-environment-marker-and-its-operators/4976>\
**Category:** Packaging\
**Created:** [August 15, 2020, 6:32am UTC](https://discuss.python.org/t/the-extra-environment-marker-and-its-operators/4976 "2020-08-15T06:32:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![dustin](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/dustin/32/149_2.png) [@dustin](https://discuss.python.org/u/dustin)\
**Post date:** [August 15, 2020, 3:23pm UTC](https://discuss.python.org/t/the-extra-environment-marker-and-its-operators/4976/5 "2020-08-15T15:23:59Z")

</div>

> [@uranusjr](#):
>
> Personally I think about the default extra thing not as extras removing thing, but extra groups being activated automatically. So `pip install package` implies `package[default]` , and `package[other]` implies `package[default,other]` .

I think this is almost right. It’s actually:

- `pip install package` implies `package[(install_requires),default]` ,
- `pip install package[other]` implies `package[(install_requires),other]` .

---

_[View the full topic](https://discuss.python.org/t/the-extra-environment-marker-and-its-operators/4976)._
