# Should sdists include docs and tests?

**URL:** <https://discuss.python.org/t/should-sdists-include-docs-and-tests/14578>\
**Category:** Packaging\
**Created:** [March 24, 2022, 6:59pm UTC](https://discuss.python.org/t/should-sdists-include-docs-and-tests/14578 "2022-03-24T18:59:50Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![brettcannon](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/brettcannon/32/34895_2.png) [@brettcannon](https://discuss.python.org/u/brettcannon)\
**Post date:** [March 25, 2022, 7:02pm UTC](https://discuss.python.org/t/should-sdists-include-docs-and-tests/14578/25 "2022-03-25T19:02:53Z")

</div>

> [@barry](#):
>
> From one of my `pyproject.toml` :
> 
> ```auto
> source-includes = [
> 'docs/',
> 'test/',
> 'tox.ini',
> 'conftest.py',
> ]
> 
> ```
> 
> Could only be easier if these were the default I guess 😄

> [@barry](#):
>
> it looks like the defaults would include the top level `tests/` directory

> [@pf\_moore](#):
>
> then there would be the “tests” vs “test” debate, of course 🙂

It appears @barry is having that debate with himself. 😉

> [@FFY00](#):
>
> I think it would make sense if we standardize test invocation

That came up in another topic recently (may have even been the one this topic was forked from). I have some ideas on this topic on how we could potentially make this work, but I currently don’t have the bandwidth to pursue them. If people really want to try and tackle this we could start a new topic to discuss it.

---

_[View the full topic](https://discuss.python.org/t/should-sdists-include-docs-and-tests/14578)._
