File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+
19+ branches :
20+ except :
21+ - /^sils\/.*/
22+
23+ install :
24+ # Prepend newly installed Python to the PATH of this build (this cannot be
25+ # done from inside the powershell script as it would require to restart
26+ # the parent CMD process).
27+ - " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
28+
29+ # Check that we have the expected version and architecture for Python
30+ - " python --version"
31+ - " python -c \" import struct; print(struct.calcsize('P') * 8)\" "
32+ - " %CMD_IN_ENV% python -m pip install --upgrade setuptools==21 pip==9"
33+
34+ build : false # Not a C# project, build stuff at the test step instead.
35+
36+ test_script :
37+ - " %CMD_IN_ENV% python setup.py install"
38+
39+ matrix :
40+ 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