Skip to content

Commit 1424c0c

Browse files
authored
Merge pull request #101 from oremanj/fix-packaging
Include tests in sdist, but not wheel
2 parents 37cea6b + c814bf1 commit 1424c0c

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

MANIFEST.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
include README.rst LICENSE* CODE_OF_CONDUCT* CONTRIBUTING*
22
include .coveragerc
33
include ci/test-requirements.txt
4-
recursive-include tests *.pem
4+
recursive-include tests *.py
5+
recursive-exclude tests *.pyc
6+
prune tests/.pytest_cache
57
recursive-include docs *
68
prune docs/build

docs-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
sphinx >= 1.7.0
22
sphinx_rtd_theme
33
sphinxcontrib-trio
4+
trio >= 0.15.0
5+
outcome
6+
attrs

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from setuptools import setup, find_packages
1+
from setuptools import setup
22
import sys
33

44
exec(open("trio_asyncio/_version.py", encoding="utf-8").read())
@@ -54,6 +54,7 @@
5454

5555
install_requires = [
5656
"trio >= 0.15.0",
57+
"attrs",
5758
"outcome",
5859
]
5960
if sys.version_info < (3, 7):
@@ -69,7 +70,7 @@
6970
author_email="matthias@urlichs.de",
7071
url="https://github.com/python-trio/trio-asyncio",
7172
license="MIT -or- Apache License 2.0",
72-
packages=find_packages(),
73+
packages=["trio_asyncio"],
7374
install_requires=install_requires,
7475
# This means, just install *everything* you see under trio/, even if it
7576
# doesn't look like a source file, so long as it appears in MANIFEST.in:

0 commit comments

Comments
 (0)