File tree Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 1+ environment :
2+ matrix :
3+ - PYTHON : " C:\\ Python34"
4+ PYTHON_VERSION : " 3.4.4"
5+ PYTHON_ARCH : " 32"
6+
7+ - PYTHON : " C:\\ Python34-x64"
8+ PYTHON_VERSION : " 3.4.4"
9+ PYTHON_ARCH : " 64"
10+
11+ - PYTHON : " C:\\ Python36"
12+ PYTHON_VERSION : " 3.6"
13+ PYTHON_ARCH : " 32"
14+
15+ - PYTHON : " C:\\ Python36-x64"
16+ PYTHON_VERSION : " 3.6"
17+ PYTHON_ARCH : " 64"
18+ cache :
19+ - " C:\\ pip_cache"
20+ - " node_modules"
21+ - " C:\\ Users\\ appveyor\\ AppData\\ Roaming\\ nltk_data"
22+
23+ branches :
24+ except :
25+ - /^sils\/.*/
26+
27+ install :
28+ # Prepend newly installed Python to the PATH of this build (this cannot be
29+ # done from inside the powershell script as it would require to restart
30+ # the parent CMD process).
31+ - " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
32+
33+ # Check that we have the expected version and architecture for Python
34+ - " python --version"
35+ - " python -c \" import struct; print(struct.calcsize('P') * 8)\" "
36+ - " %CMD_IN_ENV% python -m pip install --upgrade setuptools==21 pip==9"
37+
38+ build : false # Not a C# project, build stuff at the test step instead.
39+
40+ test_script :
41+ - " %CMD_IN_ENV% python setup.py install"
42+
43+ matrix :
44+ fast_finish : true
Original file line number Diff line number Diff line change 55from __future__ import absolute_import
66
77import ast
8- from distutils import core
8+ from setuptools import setup
99import os
1010
1111
@@ -18,7 +18,7 @@ def version(filename):
1818
1919
2020with open ('README.rst' ) as readme :
21- core . setup (
21+ setup (
2222 name = 'cppclean' ,
2323 version = version (os .path .join ('cpp' , '__init__.py' )),
2424 description = 'Find problems in C++ source that slow development '
You can’t perform that action at this time.
0 commit comments