File tree Expand file tree Collapse file tree 2 files changed +47
-2
lines changed Expand file tree Collapse file tree 2 files changed +47
-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% py.test"
42
+ - " %CMD_IN_ENV% python setup.py install"
43
+
44
+ matrix :
45
+ fast_finish : true
Original file line number Diff line number Diff line change 5
5
from __future__ import absolute_import
6
6
7
7
import ast
8
- from distutils import core
8
+ from setuptools import setup
9
9
import os
10
10
11
11
@@ -18,7 +18,7 @@ def version(filename):
18
18
19
19
20
20
with open ('README.rst' ) as readme :
21
- core . setup (
21
+ setup (
22
22
name = 'cppclean' ,
23
23
version = version (os .path .join ('cpp' , '__init__.py' )),
24
24
description = 'Find problems in C++ source that slow development '
You can’t perform that action at this time.
0 commit comments