Commit 5abbb45e authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

kvm: new software release targeting Python 3

parent f524dd0b
[buildout]
extends =
../../component/python3/buildout.cfg
software.cfg
python = python3
# Ignore these for now
common-parts -=
rdiff-backup
......@@ -30,6 +30,7 @@ import json
import os
import re
import requests
import six
import slapos.util
import subprocess
import sqlite3
......@@ -55,7 +56,8 @@ def sanityCheck():
if sanityCheck():
setUpModule, InstanceTestCase = makeModuleSetUpAndTestCaseClass(
os.path.abspath(
os.path.join(os.path.dirname(__file__), '..', 'software.cfg')))
os.path.join(os.path.dirname(__file__), '..',
'software%s.cfg' % ("-py3" if six.PY3 else ""))))
else:
setUpModule, InstanceTestCase = None, unittest.TestCase
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment