wilas / vbkick

Tool for building and maintaining VirtualBox VMs described as a code in a single definition file.
Other
8 stars 5 forks source link

Python 3 incompatibility #5

Closed alanpearce closed 10 years ago

alanpearce commented 10 years ago

Trying to build a vm on a system with Python 3 as the default Python results in:

/usr/bin/python: No module named SimpleHTTPServer

The equivalent command is apparently python3 -m http.server now, or vbkick could try to call python2.

wilas commented 10 years ago

I think vbkick should detect python version and start proper module: SimpleHTTPServer for python 2 and http.server for python 3.

wilas commented 10 years ago

This was implemented.

alanpearce commented 10 years ago

Aha, beat me to it. :)

wilas commented 10 years ago

I like your solution more then my "if". But I like my python version check. I will some how merge code using your $webserver_module :)

alanpearce commented 10 years ago

Thanks. I liked your version check better too. :thumbsup: