Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include tests (and docs) and sdist correctly, and stop installing them to site-packages #162

Merged
merged 3 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
include LICENSE
include README.rst
include HISTORY.rst
include pytest.ini

recursive-include docs *
recursive-include tests *.py

recursive-exclude * __pycache__
recursive-exclude * *.py[co]
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def read(fname):
},
description="A plugin to fake subprocess for pytest",
long_description=read("README.rst") + "\n" + read("HISTORY.rst"),
py_modules=["pytest_subprocess"],
python_requires=">=3.6",
install_requires=requirements,
extras_require={
Expand All @@ -52,7 +51,7 @@ def read(fname):
"changelogd",
],
},
packages=find_packages(exclude=["docs"]),
packages=find_packages(exclude=["docs", "tests"]),
package_data={"pytest_subprocess": ["py.typed"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down
Loading