Enable python3 support

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras
2022-08-05 19:54:53 -05:00
parent 34ba087896
commit b3b9b5de39
7 changed files with 29 additions and 19 deletions

View File

@@ -102,7 +102,7 @@ class Component
def build
Dir.chdir(dir) do
targets = %w[build_py build_ext].map { |e| [e, '--build-lib', "#{$builddir}/python"] }
run_cmd %w[python2 setup.py --quiet] + targets.flatten
run_cmd %w[python setup.py --quiet] + targets.flatten
end
end

View File

@@ -40,3 +40,5 @@ hg:5.5 hggit:0.9.0 dulwich:0.19.15 # 2020_08
hg:5.6 hggit:0.9.0 dulwich:0.19.15 # 2020_10
hg:5.7 hggit:0.10.0 dulwich:0.19.16 # 2021_01
hg:5.8 hggit:0.10.1 dulwich:0.20.0 # 2021_05 # python3