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 11CHANGES
22=======
33
4+ 0.5.1 (2017-04-xx)
5+ ------------------
6+
7+ - Fixed unbound method type error #4
8+
9+
4100.5.0 (2017-03-26)
511------------------
612
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def has_rust_extensions(self):
1313
1414 def check_extensions_list (self , extensions ):
1515 if extensions :
16- _build_ext .check_extensions_list (extensions )
16+ _build_ext .check_extensions_list (self , extensions )
1717
1818 def run (self ):
1919 """Run build_rust sub command """
Original file line number Diff line number Diff line change 33import sys
44import subprocess
55from distutils .cmd import Command
6- from distutils .errors import CompileError , DistutilsExecError
6+ from distutils .errors import (
7+ CompileError , DistutilsFileError , DistutilsExecError )
78
89import semantic_version
910
@@ -61,10 +62,11 @@ def run(self):
6162
6263 # Execute cargo command
6364 try :
64- output = subprocess .check_output (args )
65+ subprocess .check_output (args )
6566 except subprocess .CalledProcessError as e :
6667 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" )))
6870 except OSError :
6971 raise DistutilsExecError (
7072 "Unable to execute 'cargo' - this package "
You can’t perform that action at this time.
0 commit comments