From ffeb0aed823197c560103389e97bd9fce4c55d90 Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Thu, 15 Oct 2015 23:52:20 +0300 Subject: [PATCH 01/22] Added Windows build status to README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index ad384fd2b..0e0b8a7c3 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,8 @@ Difficult to support: * PyPy 2.7 * PyPy 3.4 + + +[![Build status](https://ci.appveyor.com/api/projects/status/aoe3dtkep36rdaqfaqf?svg=true)](https://ci.appveyor.com/project/maxirmx/spacy) + + From 6ee1c03f51ac07202fb6c33034267b5b3dfc0475 Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Thu, 15 Oct 2015 23:53:47 +0300 Subject: [PATCH 02/22] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e0b8a7c3..38ff26884 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + +[![Build status](https://ci.appveyor.com/api/projects/status/aoe3dtkep36rdaqfaqf?svg=true)](https://ci.appveyor.com/project/maxirmx/spacy) + + spaCy: Industrial-strength NLP ============================== @@ -51,6 +55,4 @@ Difficult to support: * PyPy 3.4 -[![Build status](https://ci.appveyor.com/api/projects/status/aoe3dtkep36rdaqfaqf?svg=true)](https://ci.appveyor.com/project/maxirmx/spacy) - From da7426d1982277eedbd4f61a5671442d51eccbe0 Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Thu, 15 Oct 2015 23:56:28 +0300 Subject: [PATCH 03/22] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 38ff26884..95a83316b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ -[![Build status](https://ci.appveyor.com/api/projects/status/aoe3dtkep36rdaqfaqf?svg=true)](https://ci.appveyor.com/project/maxirmx/spacy) - +https://ci.appveyor.com/api/projects/status/aoe3dtkep36rdaqf?svg=true spaCy: Industrial-strength NLP ============================== From e6e6018356a9e4e7023fe4568fad78e3cd43322e Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Fri, 16 Oct 2015 00:00:47 +0300 Subject: [PATCH 04/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 95a83316b..7e2614aca 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -https://ci.appveyor.com/api/projects/status/aoe3dtkep36rdaqf?svg=true +Windows build status: spaCy: Industrial-strength NLP ============================== From 6cff3533b5a199323ae6b1d8eb5476138dcce73c Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Fri, 16 Oct 2015 00:01:03 +0300 Subject: [PATCH 05/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e2614aca..8eb39ba01 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -Windows build status: + spaCy: Industrial-strength NLP ============================== From f81fa55db6fd527aeedb216a0e7a544fcd19d1f6 Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Fri, 16 Oct 2015 00:04:55 +0300 Subject: [PATCH 06/22] Added win32 build to the matrix --- .appveyor.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 8f0a21967..a5b3f22fa 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -8,16 +8,24 @@ environment: matrix: # Python 2.7.10 is the latest version and is not pre-installed. - - PYTHON: "C:\\Python27.10-x64" PYTHON_VERSION: "2.7.10" PYTHON_ARCH: "64" + - PYTHON: "C:\\Python27.10-x32" + PYTHON_VERSION: "2.7.10" + PYTHON_ARCH: "32" + # The lastest Python 3.4. - PYTHON: "C:\\Python34-x64" PYTHON_VERSION: "3.4.x" # currently 3.4.3 PYTHON_ARCH: "64" + - PYTHON: "C:\\Python34-x32" + PYTHON_VERSION: "3.4.x" # currently 3.4.3 + PYTHON_ARCH: "32" + + install: # Install Python (from the official .msi of http://python.org) and pip when # not already installed. From 9cdea6e450bdbdc90863afbb252328918f9762f6 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 19 Oct 2015 08:32:41 +0200 Subject: [PATCH 07/22] * Import uget correctly --- spacy/en/download.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/en/download.py b/spacy/en/download.py index cfceb6590..6180c4766 100644 --- a/spacy/en/download.py +++ b/spacy/en/download.py @@ -4,9 +4,10 @@ import sys import os import tarfile import shutil -import uget import plac +from . import uget + # TODO: Read this from the same source as the setup VERSION = '0.9.5' From 4f703f0cb49bbe6aa10b6fa1b527c043cc95005b Mon Sep 17 00:00:00 2001 From: Henning Peters Date: Tue, 20 Oct 2015 19:11:29 +0200 Subject: [PATCH 08/22] better error reporting, cleanup --- spacy/en/download.py | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/spacy/en/download.py b/spacy/en/download.py index 6180c4766..8711a390b 100644 --- a/spacy/en/download.py +++ b/spacy/en/download.py @@ -18,42 +18,38 @@ ALL_DATA_DIR_URL = '%s/en_data_all-%s.tgz' % (AWS_STORE, VERSION) DEST_DIR = path.join(path.dirname(path.abspath(__file__)), 'data') -def download_file(url, dest_dir): - return uget.download(url, dest_dir, console=sys.stdout) +def download_file(url, path): + return uget.download(url, path, console=sys.stdout) -def install_data(url, dest_dir): - filename = download_file(url, dest_dir) +def install_data(url, path, filename): + try: + os.makedirs(path) + except FileExistsError: + pass + + filename = download_file(url, os.path.join(path, filename)) t = tarfile.open(filename) - t.extractall(dest_dir) - - -def install_parser_model(url, dest_dir): - filename = download_file(url, dest_dir) - t = tarfile.open(filename, mode=":gz") - t.extractall(dest_dir) - - -def install_dep_vectors(url, dest_dir): - download_file(url, dest_dir) + t.extractall(path) @plac.annotations( force=("Force overwrite", "flag", "f", bool), ) def main(data_size='all', force=False): - if data_size == 'all': - data_url = ALL_DATA_DIR_URL - elif data_size == 'small': - data_url = SM_DATA_DIR_URL - if force and path.exists(DEST_DIR): shutil.rmtree(DEST_DIR) - if not os.path.exists(DEST_DIR): - os.makedirs(DEST_DIR) + filename = ALL_DATA_DIR_URL.rsplit('/', 1)[1] - install_data(data_url, DEST_DIR) + if os.path.exists(DEST_DIR): + # ugly hack to find out whether something other + # than the currently wanted file lives there + if len([f for f in os.listdir(DEST_DIR) if f != filename]): + print('data already installed at %s, overwrite with --force' % DEST_DIR) + sys.exit(1) + + install_data(ALL_DATA_DIR_URL, DEST_DIR, filename) if __name__ == '__main__': From da4c9cee06e6a25470619fa20c1454cc78407d24 Mon Sep 17 00:00:00 2001 From: Henning Peters Date: Tue, 20 Oct 2015 19:33:59 +0200 Subject: [PATCH 09/22] assert filename match --- spacy/en/download.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spacy/en/download.py b/spacy/en/download.py index 8711a390b..662948f93 100644 --- a/spacy/en/download.py +++ b/spacy/en/download.py @@ -28,8 +28,10 @@ def install_data(url, path, filename): except FileExistsError: pass - filename = download_file(url, os.path.join(path, filename)) - t = tarfile.open(filename) + download_path = os.path.join(path, filename) + tmp = download_file(url, download_path) + assert tmp == download_path + t = tarfile.open(download_path) t.extractall(path) From f43dee555b9bb1f936751cfb7c6bcc8f991d5235 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Tue, 20 Oct 2015 22:52:11 +0300 Subject: [PATCH 10/22] Test build #1 --- .appveyor.yml | 16 ++++++++-------- вуз | 8 ++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 вуз diff --git a/.appveyor.yml b/.appveyor.yml index a5b3f22fa..e85d69b73 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -12,18 +12,18 @@ environment: PYTHON_VERSION: "2.7.10" PYTHON_ARCH: "64" - - PYTHON: "C:\\Python27.10-x32" - PYTHON_VERSION: "2.7.10" - PYTHON_ARCH: "32" + #- PYTHON: "C:\\Python27.10-x32" + # PYTHON_VERSION: "2.7.10" + # PYTHON_ARCH: "32" # The lastest Python 3.4. - PYTHON: "C:\\Python34-x64" PYTHON_VERSION: "3.4.x" # currently 3.4.3 PYTHON_ARCH: "64" - - PYTHON: "C:\\Python34-x32" - PYTHON_VERSION: "3.4.x" # currently 3.4.3 - PYTHON_ARCH: "32" + #- PYTHON: "C:\\Python34-x32" + # PYTHON_VERSION: "3.4.x" # currently 3.4.3 + # PYTHON_ARCH: "32" install: @@ -38,10 +38,10 @@ install: - "SET PYTHONPATH=%CD%;%PYTHONPATH%" # Filesystem root - # - ps: "ls \"C:/\"" + - ps: "ls \"C:/\"" # Installed SDKs - # - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" + - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" # Checking stdint.h #- ps: "ls \"C:/projects/spacy/include/\"" diff --git a/вуз b/вуз new file mode 100644 index 000000000..ae3890839 --- /dev/null +++ b/вуз @@ -0,0 +1,8 @@ +fabtools +cymem +pathlib [version 1.0 is available at menpo channel. The latest version 1.0.1] +thinc +murmurhash +text-unidecode +wget [the same package is available as pywget at anaconda_old channel] +cloudpickle \ No newline at end of file From 685dc89754270cf64e678e3e7169484d48ddc5e1 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Tue, 20 Oct 2015 22:53:14 +0300 Subject: [PATCH 11/22] Test build #2 --- .appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index e85d69b73..7aa92532d 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -38,10 +38,10 @@ install: - "SET PYTHONPATH=%CD%;%PYTHONPATH%" # Filesystem root - - ps: "ls \"C:/\"" + - ps: "ls \"C:/\"" # Installed SDKs - - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" + - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" # Checking stdint.h #- ps: "ls \"C:/projects/spacy/include/\"" From aefc6b37b8868a962e75d827212e37211b9c55f9 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Tue, 20 Oct 2015 23:20:32 +0300 Subject: [PATCH 12/22] Trash deleted --- вуз | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 вуз diff --git a/вуз b/вуз deleted file mode 100644 index ae3890839..000000000 --- a/вуз +++ /dev/null @@ -1,8 +0,0 @@ -fabtools -cymem -pathlib [version 1.0 is available at menpo channel. The latest version 1.0.1] -thinc -murmurhash -text-unidecode -wget [the same package is available as pywget at anaconda_old channel] -cloudpickle \ No newline at end of file From 88d7eb6d26dbafab65e3135c5b9481c1a823c82b Mon Sep 17 00:00:00 2001 From: maxirmx Date: Tue, 20 Oct 2015 23:27:32 +0300 Subject: [PATCH 13/22] Push --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index f21301db1..d25bb906b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ install: - "pip install cython fabric fabtools" - "pip install -r requirements.txt" - "python setup.py build_ext --inplace" +# init model - "mkdir -p corpora/en" - "cd corpora/en" - "wget --no-check-certificate http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz" From b8d07f35ddb9c7d97a350a9ef5511b15a7287507 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Tue, 20 Oct 2015 23:28:37 +0300 Subject: [PATCH 14/22] Push --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d25bb906b..f21301db1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,6 @@ install: - "pip install cython fabric fabtools" - "pip install -r requirements.txt" - "python setup.py build_ext --inplace" -# init model - "mkdir -p corpora/en" - "cd corpora/en" - "wget --no-check-certificate http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz" From ccffd2ef53bad9d2a8e51c072948dcc08279ba86 Mon Sep 17 00:00:00 2001 From: Henning Peters Date: Wed, 21 Oct 2015 07:59:34 +0200 Subject: [PATCH 15/22] fixed extract directory --- spacy/en/download.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/spacy/en/download.py b/spacy/en/download.py index 662948f93..11ed96caa 100644 --- a/spacy/en/download.py +++ b/spacy/en/download.py @@ -1,5 +1,4 @@ from __future__ import print_function -from os import path import sys import os import tarfile @@ -15,43 +14,44 @@ AWS_STORE = 'https://s3-us-west-1.amazonaws.com/media.spacynlp.com' ALL_DATA_DIR_URL = '%s/en_data_all-%s.tgz' % (AWS_STORE, VERSION) -DEST_DIR = path.join(path.dirname(path.abspath(__file__)), 'data') +DEST_DIR = os.path.dirname(os.path.abspath(__file__)) -def download_file(url, path): - return uget.download(url, path, console=sys.stdout) +def download_file(url, download_path): + return uget.download(url, download_path, console=sys.stdout) -def install_data(url, path, filename): +def install_data(url, extract_path, download_path): try: - os.makedirs(path) + os.makedirs(extract_path) except FileExistsError: pass - download_path = os.path.join(path, filename) tmp = download_file(url, download_path) assert tmp == download_path t = tarfile.open(download_path) - t.extractall(path) + t.extractall(extract_path) @plac.annotations( force=("Force overwrite", "flag", "f", bool), ) def main(data_size='all', force=False): - if force and path.exists(DEST_DIR): - shutil.rmtree(DEST_DIR) - filename = ALL_DATA_DIR_URL.rsplit('/', 1)[1] + download_path = os.path.join(DEST_DIR, filename) + data_path = os.path.join(DEST_DIR, 'data') - if os.path.exists(DEST_DIR): - # ugly hack to find out whether something other - # than the currently wanted file lives there - if len([f for f in os.listdir(DEST_DIR) if f != filename]): - print('data already installed at %s, overwrite with --force' % DEST_DIR) - sys.exit(1) + if force and os.path.exists(download_path): + os.unlink(download_path) - install_data(ALL_DATA_DIR_URL, DEST_DIR, filename) + if force and os.path.exists(data_path): + shutil.rmtree(data_path) + + if os.path.exists(data_path): + print('data already installed at %s, overwrite with --force' % DEST_DIR) + sys.exit(1) + + install_data(ALL_DATA_DIR_URL, DEST_DIR, download_path) if __name__ == '__main__': From 93ada458e2862373f227373ca868498b110a5a6b Mon Sep 17 00:00:00 2001 From: Andreas Grivas Date: Wed, 21 Oct 2015 14:11:46 +0300 Subject: [PATCH 16/22] added __repr__ that prints text in ipython for doc, token, and span objects --- spacy/tokens/doc.pyx | 3 +++ spacy/tokens/spans.pyx | 6 ++++++ spacy/tokens/token.pyx | 3 +++ 3 files changed, 12 insertions(+) diff --git a/spacy/tokens/doc.pyx b/spacy/tokens/doc.pyx index c0cc6803b..93be3e363 100644 --- a/spacy/tokens/doc.pyx +++ b/spacy/tokens/doc.pyx @@ -120,6 +120,9 @@ cdef class Doc: def __str__(self): return u''.join([t.string for t in self]) + def __repr__(self): + return u''.join([t.string for t in self]) + def similarity(self, other): if self.vector_norm == 0 or other.vector_norm == 0: return 0.0 diff --git a/spacy/tokens/spans.pyx b/spacy/tokens/spans.pyx index e8d2f2e59..e1b881f79 100644 --- a/spacy/tokens/spans.pyx +++ b/spacy/tokens/spans.pyx @@ -46,6 +46,12 @@ cdef class Span: return 0 return self.end - self.start + def __repr__(self): + text = self.text_with_ws + if self[-1].whitespace_: + text = text[:-1] + return text + def __getitem__(self, object i): if isinstance(i, slice): start, end = normalize_slice(len(self), i.start, i.stop, i.step) diff --git a/spacy/tokens/token.pyx b/spacy/tokens/token.pyx index a7447fb79..cce8eeeb4 100644 --- a/spacy/tokens/token.pyx +++ b/spacy/tokens/token.pyx @@ -43,6 +43,9 @@ cdef class Token: def __str__(self): return self.string + def __repr__(self): + return self.string + cpdef bint check_flag(self, attr_id_t flag_id) except -1: return Lexeme.c_check_flag(self.c.lex, flag_id) From e4a1726f77c2eee2337766f1390308aa6207f056 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Wed, 21 Oct 2015 14:16:18 +0300 Subject: [PATCH 17/22] Fixing encoding issue UTF-8 --- spacy/lemmatizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lemmatizer.py b/spacy/lemmatizer.py index c1d296d7c..4109699fe 100644 --- a/spacy/lemmatizer.py +++ b/spacy/lemmatizer.py @@ -19,7 +19,7 @@ class Lemmatizer(object): index[pos] = read_index(path.join(data_dir, 'wordnet', 'index.%s' % pos)) exc[pos] = read_exc(path.join(data_dir, 'wordnet', '%s.exc' % pos)) if path.exists(path.join(data_dir, 'vocab', 'lemma_rules.json')): - rules = json.load(open(path.join(data_dir, 'vocab', 'lemma_rules.json'))) + rules = json.load(open(path.join(data_dir, 'vocab', 'lemma_rules.json')), encoding="UTF-8") else: rules = {} return cls(index, exc, rules) From fe9d2e2c4e52879736a308b6a33b9546ec7c2cf9 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Wed, 21 Oct 2015 15:36:21 +0300 Subject: [PATCH 18/22] Fixing encode issue #2 --- spacy/lemmatizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lemmatizer.py b/spacy/lemmatizer.py index 4109699fe..ae5f5e615 100644 --- a/spacy/lemmatizer.py +++ b/spacy/lemmatizer.py @@ -19,7 +19,7 @@ class Lemmatizer(object): index[pos] = read_index(path.join(data_dir, 'wordnet', 'index.%s' % pos)) exc[pos] = read_exc(path.join(data_dir, 'wordnet', '%s.exc' % pos)) if path.exists(path.join(data_dir, 'vocab', 'lemma_rules.json')): - rules = json.load(open(path.join(data_dir, 'vocab', 'lemma_rules.json')), encoding="UTF-8") + rules = json.load(open(path.join(data_dir, 'vocab', 'lemma_rules.json'), encoding="UTF-8")) else: rules = {} return cls(index, exc, rules) From fcbfff043fd98e72290a887a12b93ebc270aa992 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Wed, 21 Oct 2015 15:52:34 +0300 Subject: [PATCH 19/22] Fixing encoding issue #3 --- spacy/lemmatizer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spacy/lemmatizer.py b/spacy/lemmatizer.py index ae5f5e615..3eb7d1a52 100644 --- a/spacy/lemmatizer.py +++ b/spacy/lemmatizer.py @@ -19,7 +19,10 @@ class Lemmatizer(object): index[pos] = read_index(path.join(data_dir, 'wordnet', 'index.%s' % pos)) exc[pos] = read_exc(path.join(data_dir, 'wordnet', '%s.exc' % pos)) if path.exists(path.join(data_dir, 'vocab', 'lemma_rules.json')): - rules = json.load(open(path.join(data_dir, 'vocab', 'lemma_rules.json'), encoding="UTF-8")) + if sys.version_info[0] == 3: + rules = json.load(open(path.join(data_dir, 'vocab', 'lemma_rules.json'), encoding="utf_8")) + else: + rules = json.load(open(path.join(data_dir, 'vocab', 'lemma_rules.json'))) else: rules = {} return cls(index, exc, rules) From f07e4accd79871a39f969a081c945b70b0d14e02 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Wed, 21 Oct 2015 20:45:56 +0300 Subject: [PATCH 20/22] Fixing encoding issue #4 --- spacy/lemmatizer.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spacy/lemmatizer.py b/spacy/lemmatizer.py index 3eb7d1a52..08e511f68 100644 --- a/spacy/lemmatizer.py +++ b/spacy/lemmatizer.py @@ -19,10 +19,7 @@ class Lemmatizer(object): index[pos] = read_index(path.join(data_dir, 'wordnet', 'index.%s' % pos)) exc[pos] = read_exc(path.join(data_dir, 'wordnet', '%s.exc' % pos)) if path.exists(path.join(data_dir, 'vocab', 'lemma_rules.json')): - if sys.version_info[0] == 3: - rules = json.load(open(path.join(data_dir, 'vocab', 'lemma_rules.json'), encoding="utf_8")) - else: - rules = json.load(open(path.join(data_dir, 'vocab', 'lemma_rules.json'))) + rules = json.load(codecs.open(path.join(data_dir, 'vocab', 'lemma_rules.json'), encoding='utf_8')) else: rules = {} return cls(index, exc, rules) From 6bb8e05fe217f9a0671a764b1864a13f06233faa Mon Sep 17 00:00:00 2001 From: maxirmx Date: Wed, 21 Oct 2015 23:13:42 +0300 Subject: [PATCH 21/22] Win32 build added --- .appveyor.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 7aa92532d..bfa5799cc 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -12,9 +12,9 @@ environment: PYTHON_VERSION: "2.7.10" PYTHON_ARCH: "64" - #- PYTHON: "C:\\Python27.10-x32" - # PYTHON_VERSION: "2.7.10" - # PYTHON_ARCH: "32" + - PYTHON: "C:\\Python27.10-x32" + PYTHON_VERSION: "2.7.10" + PYTHON_ARCH: "32" # The lastest Python 3.4. - PYTHON: "C:\\Python34-x64" @@ -39,6 +39,7 @@ install: # Filesystem root - ps: "ls \"C:/\"" + - SET # Installed SDKs - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" From 64a61d52db5a1ee90ad0ad4fabc3075b6c9620d5 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Thu, 22 Oct 2015 01:15:53 +0300 Subject: [PATCH 22/22] Appveyor.yml cleanup --- .appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index bfa5799cc..4dcd75e9c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -38,11 +38,11 @@ install: - "SET PYTHONPATH=%CD%;%PYTHONPATH%" # Filesystem root - - ps: "ls \"C:/\"" - - SET + #- ps: "ls \"C:/\"" + #- SET # Installed SDKs - - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" + #- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" # Checking stdint.h #- ps: "ls \"C:/projects/spacy/include/\""