From af3002ad8ec70de015037f1bfe2065c10c7a797f Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Thu, 10 Sep 2020 11:59:36 +0200 Subject: [PATCH] Include additional files in source distributions, fixes #364 This will ensure the missing conftest.py file is included, as well as the docs folder. --- CHANGELOG.md | 2 ++ CONTRIBUTORS.md | 1 + MANIFEST.in | 4 ++++ 3 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7126b0a9..d3648caa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Start testing on PyPy. Due to [#342](https://github.com/PyFilesystem/pyfilesystem2/issues/342) we have to treat PyPy builds specially and allow them to fail, but at least we'll be able to see if we break something aside from known issues with FTP tests. +- Include docs in source distributions as well the whole tests folder, + ensuring `conftest.py` is present, fixes [#364](https://github.com/PyFilesystem/pyfilesystem2/issues/364). ## [2.4.11] - 2019-09-07 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index cb55cf74..432bf23a 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -6,6 +6,7 @@ Many thanks to the following developers for contributing to this project: - [Diego Argueta](https://github.com/dargueta) - [Geoff Jukes](https://github.com/geoffjukes) - [Giampaolo](https://github.com/gpcimino) +- [Louis Sautier](https://github.com/sbraz) - [Martin Larralde](https://github.com/althonos) - [Will McGugan](https://github.com/willmcgugan) - [Zmej Serow](https://github.com/zmej-serow) diff --git a/MANIFEST.in b/MANIFEST.in index 1aba38f6..99db56b1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,5 @@ include LICENSE +graft tests +graft docs +global-exclude __pycache__ +global-exclude *.py[co]