From 436b26fe0fb28118d41351aa4f94bb4bb9932cd0 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Tue, 25 Feb 2020 15:48:29 +0100 Subject: [PATCH] Revert other changes --- MANIFEST.in | 1 - azure-pipelines.yml | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 64886cd19..1947b9140 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,6 +4,5 @@ include LICENSE include README.md include bin/spacy include pyproject.toml -include requirements.txt recursive-exclude spacy/lang *.json recursive-include spacy/lang *.json.gz diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5a5e8f03a..d34da39f7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -83,15 +83,15 @@ jobs: python setup.py sdist --formats=gztar displayName: 'Compile and build sdist' + - task: DeleteFiles@1 + inputs: + contents: 'spacy' + displayName: 'Delete source directory' + - bash: | SDIST=$(python -c "import os;print(os.listdir('./dist')[-1])" 2>&1) pip install dist/$SDIST displayName: 'Install from sdist' - - script: python -m pytest spacy + - script: python -m pytest --pyargs spacy displayName: 'Run tests' - - - task: DeleteFiles@1 - inputs: - contents: 'spacy' - displayName: 'Delete source directory'