# Allow for overriding the default environment

**URL:** <https://discuss.python.org/t/allow-for-overriding-the-default-environment/44581>\
**Category:** Packaging\
**Created:** [January 30, 2024, 7:10pm UTC](https://discuss.python.org/t/allow-for-overriding-the-default-environment/44581 "2024-01-30T19:10:42Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![steve.dower](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/steve.dower/32/56_2.png) [@steve.dower](https://discuss.python.org/u/steve.dower)\
**Post date:** [January 30, 2024, 8:23pm UTC](https://discuss.python.org/t/allow-for-overriding-the-default-environment/44581/5 "2024-01-30T20:23:08Z")

</div>

Yeah, I’d vote for using the environment variable to point at a JSON file containing the info (and possibly there’s alignment here with [PEP 739](https://discuss.python.org/t/pep-739-static-description-file-for-python-installations/44572)?).

I would also very much like a way to override the platform tag that `packaging` chooses for the current system. I’d love to be able to embed a configuration file in a Python environment that says “instead of `win32`, pretend this is `my_special_platform`” (and then point at a private package index to get perfectly matched custom builds). If you’re going to go for a big change here, please keep going 😃

---

_[View the full topic](https://discuss.python.org/t/allow-for-overriding-the-default-environment/44581)._
