Initial changes for Pungi 4.0.
This commit is contained in:
parent
274236a3f3
commit
f5c6d44000
19 changed files with 90 additions and 198 deletions
|
|
@ -8,9 +8,13 @@ import os
|
|||
import sys
|
||||
import tempfile
|
||||
import shutil
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src", "pypungi")))
|
||||
|
||||
from arch import *
|
||||
here = sys.path[0]
|
||||
if here != '/usr/bin':
|
||||
# Git checkout
|
||||
sys.path[0] = os.path.dirname(here)
|
||||
|
||||
from pungi.arch import *
|
||||
|
||||
|
||||
class TestArch(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -5,9 +5,13 @@
|
|||
import unittest
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src", "pypungi")))
|
||||
|
||||
from pathmatch import PathMatch, head_tail_split
|
||||
here = sys.path[0]
|
||||
if here != '/usr/bin':
|
||||
# Git checkout
|
||||
sys.path[0] = os.path.dirname(here)
|
||||
|
||||
from pungi.pathmatch import PathMatch, head_tail_split
|
||||
|
||||
|
||||
class TestHeadTailSplit(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue