Skip to content

Commit 82ac031

Browse files
committed
updated win32 dist method
1 parent 7597cce commit 82ac031

17 files changed

Lines changed: 7 additions & 4 deletions

File tree

cmdtool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python2
22
# -*- coding: utf-8 -*-
33
# $File: cmdtool.py
4-
# $Date: Sat Apr 06 11:47:10 2013 +0800
4+
# $Date: Sat Apr 06 15:42:43 2013 +0800
55
# $Author: jiakai@megvii.com
66
#
77
# This program is free software. It comes without any warranty, to
@@ -36,6 +36,7 @@ def init():
3636
sys.frozen in ("windows_exe", "console_exe"):
3737
fdir = os.path.dirname(os.path.abspath(sys.executable))
3838
sys.path.append(fdir)
39+
fdir = os.path.join(fdir, '..')
3940
else:
4041
fdir = os.path.dirname(__file__)
4142

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../apikey.cfg
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../cmdtool.py
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../facepp.py
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)