From b1f05340c07f4660051418dbdbb0d386828d89a1 Mon Sep 17 00:00:00 2001 From: "Nathaniel J. Smith" Date: Mon, 10 Apr 2017 03:22:17 -0700 Subject: [PATCH] Install test certs alongside tests Should (hopefully) fix travis builds --- MANIFEST.in | 1 + setup.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index 1051aeb219..ca841cc0c8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,5 +2,6 @@ include LICENSE LICENSE.MIT LICENSE.APACHE2 include README.rst include CODE_OF_CONDUCT.md include test-requirements.txt +recursive-include trio/tests/test_ssl_certs *.pem recursive-include docs * prune docs/build diff --git a/setup.py b/setup.py index fe9109c990..9fbb0c2519 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,9 @@ # https://bitbucket.org/pypa/wheel/issues/181/bdist_wheel-silently-discards-pep-508 #"cffi; os_name == 'nt'", # "cffi is required on windows" ], + # This means, just install *everything* you see under trio/, even if it + # doesn't look like a source file, so long as it appears in MANIFEST.in: + include_package_data=True, # Quirky bdist_wheel-specific way: # https://wheel.readthedocs.io/en/latest/#defining-conditional-dependencies # also supported by pip and setuptools, as long as they're vaguely