Skip to content

Commit

Permalink
move wireutils to lib
Browse files Browse the repository at this point in the history
  • Loading branch information
yrsegal committed Oct 3, 2015
1 parent 00622f6 commit 6ccb22e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion checkdependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import pip

dirname = os.path.dirname(__file__)
sys.path.append(os.path.join(dirname, "cli"))
sys.path.append(os.path.join(dirname, "lib"))
import wireutils
wireutils.cprintconf.name = "Perdyshot"
wireutils.cprintconf.color= wireutils.bcolors.DARKCYAN
Expand Down
3 changes: 2 additions & 1 deletion cli/area.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

import argparse, os, sys, signal, time, temppath

dirname = os.path.dirname(__file__)
sys.path.append(os.path.join(dirname, os.path.pardir, "lib"))
import wireutils
wireutils.cprintconf.name = "Perdyshot"
wireutils.cprintconf.color= wireutils.bcolors.DARKCYAN
Expand All @@ -18,7 +20,6 @@


def main(argSource):
dirname = os.path.dirname(os.path.realpath(__file__))
cwd = os.getcwd()

app = QtGui.QApplication(sys.argv)
Expand Down
3 changes: 2 additions & 1 deletion cli/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

import argparse

dirname = os.path.dirname(__file__)
sys.path.append(os.path.join(dirname, os.path.pardir, "lib"))
import wireutils
wireutils.cprintconf.name = "Perdyshot"
wireutils.cprintconf.color= wireutils.bcolors.DARKCYAN
Expand All @@ -17,7 +19,6 @@
import subprocess, time, sys, os, signal

def main(argSource):
dirname = os.path.dirname(os.path.realpath(__file__))
cwd = os.getcwd()

version = 'Perdyshot ' + open(os.path.join(dirname, os.path.pardir, '.version'), 'r').read()
Expand Down
File renamed without changes.

0 comments on commit 6ccb22e

Please sign in to comment.