Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Add tests to sdist #86

Closed
jayvdb opened this issue Aug 23, 2022 · 1 comment · Fixed by #88
Closed

Add tests to sdist #86

jayvdb opened this issue Aug 23, 2022 · 1 comment · Fixed by #88

Comments

@jayvdb
Copy link

jayvdb commented Aug 23, 2022

It is much easier to create distro packages for Python packages if the sdist contains the tests. Usually done by adding tests to MANIFEST.in. https://pypi.org/project/check-manifest/ is a great tool to help with this

@henry0312
Copy link
Owner

Thank you for the information. I'll check.

henry0312 added a commit to henry0312/pytest-pycodestyle that referenced this issue Oct 28, 2022
henry0312/pytest-pydocstyle#86

```sh
❯ check-manifest
lists of files in version control and sdist do not match!
missing from sdist:
  Makefile
  tests/test_pytest_pycodestyle.py
suggested MANIFEST.in rules:
  include Makefile
  recursive-include tests *.py
```
henry0312 added a commit to henry0312/pytest-pycodestyle that referenced this issue Oct 28, 2022
henry0312/pytest-pydocstyle#86

```sh
❯ check-manifest
lists of files in version control and sdist do not match!
missing from sdist:
  Makefile
  tests/test_pytest_pycodestyle.py
suggested MANIFEST.in rules:
  include Makefile
  recursive-include tests *.py
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants