Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This goes against the currently officially recommended package layout, but there are quite a few reasons for doing it this way. In particular, having the package directory *not* directly importable ensures that the tests actually run against the packaged version of the code, not against what happens to be in the working copy. Blog articles: * https://hynek.me/articles/testing-packaging/ * https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-structure Recommendation in the pytest documentation: * https://docs.pytest.org/en/latest/goodpractices.html#tests-outside-application-code
- Loading branch information
Showing
20 changed files
with
12 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
# documentation | ||
include README.rst | ||
include CHANGES.rst | ||
include CITATION | ||
include LICENSE | ||
include doc/*.rst | ||
include doc/conf.py | ||
include doc/Makefile | ||
include cutadapt/*.pyx | ||
include cutadapt/_align.c | ||
include cutadapt/_qualtrim.c | ||
include cutadapt/_seqio.c | ||
include bin/_preamble.py | ||
include tests/test*.py | ||
include versioneer.py | ||
include src/cutadapt/*.c | ||
include src/cutadapt/*.pyx | ||
include tests/utils.py | ||
include tests/test_*.py | ||
graft tests/data | ||
graft tests/cut | ||
include versioneer.py | ||
include cutadapt/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[versioneer] | ||
VCS = git | ||
style = pep440 | ||
versionfile_source = cutadapt/_version.py | ||
versionfile_source = src/cutadapt/_version.py | ||
versionfile_build = cutadapt/_version.py | ||
tag_prefix = v | ||
parentdir_prefix = cutadapt- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.