File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
CHANGES
2
2
=======
3
3
4
+ 0.5.1 (2017-04-xx)
5
+ ------------------
6
+
7
+ - Fixed unbound method type error #4
8
+
9
+
4
10
0.5.0 (2017-03-26)
5
11
------------------
6
12
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def has_rust_extensions(self):
13
13
14
14
def check_extensions_list (self , extensions ):
15
15
if extensions :
16
- _build_ext .check_extensions_list (extensions )
16
+ _build_ext .check_extensions_list (self , extensions )
17
17
18
18
def run (self ):
19
19
"""Run build_rust sub command """
Original file line number Diff line number Diff line change 3
3
import sys
4
4
import subprocess
5
5
from distutils .cmd import Command
6
- from distutils .errors import CompileError , DistutilsExecError
6
+ from distutils .errors import (
7
+ CompileError , DistutilsFileError , DistutilsExecError )
7
8
8
9
import semantic_version
9
10
@@ -61,10 +62,11 @@ def run(self):
61
62
62
63
# Execute cargo command
63
64
try :
64
- output = subprocess .check_output (args )
65
+ subprocess .check_output (args )
65
66
except subprocess .CalledProcessError as e :
66
67
raise CompileError (
67
- "cargo failed with code: %d\n %s" % (e .returncode , e .output ))
68
+ "cargo failed with code: %d\n %s" % (
69
+ e .returncode , e .output .decode ("utf-8" )))
68
70
except OSError :
69
71
raise DistutilsExecError (
70
72
"Unable to execute 'cargo' - this package "
You can’t perform that action at this time.
0 commit comments