#9 Specify the use of python2.
Merged 3 years ago by huzaifas. Opened 3 years ago by wmealing.
wmealing/defensive-coding-guide python-version-fix  into  master

file modified
+1 -1
@@ -8,7 +8,7 @@ 

  

  build-snippets:

  	mkdir -p modules/ROOT/pages/_partials/snippets

- 	python scripts/split-snippets.py . \

+ 	python2 scripts/split-snippets.py . \

  	  src/*.c src/*.cpp src/*.java src/*.py src/*.go src/*.sh

  

  clean: clean-src

Specify that python2 is required to build this, as it will not build in python3.

This ensures that the build can work on fedora32. I'm unsure if this would break any other build environments. If you want I can probably migrate the library to python3 if that is a more suitable alternative.

Thanks.

Metadata Update from @huzaifas:
- Request assigned

3 years ago

Pull-Request has been merged by huzaifas

3 years ago
Metadata