diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2014-11-24 20:13:17 +0100 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2014-11-24 20:13:17 +0100 |
commit | bd665c326198f0c44a43fb844dd7a994c34f4649 (patch) | |
tree | 697e1a8a0f42ac1d05c9441aa59ca996fca3be1d /kcc.py | |
parent | Merge pull request #113 from ciromattia/4.x (diff) | |
parent | Version bump (diff) | |
download | kcc-bd665c326198f0c44a43fb844dd7a994c34f4649.tar.gz kcc-bd665c326198f0c44a43fb844dd7a994c34f4649.tar.bz2 kcc-bd665c326198f0c44a43fb844dd7a994c34f4649.zip |
Merge pull request #119 from ciromattia/4.x
4.3.1
Diffstat (limited to 'kcc.py')
-rwxr-xr-x | kcc.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/kcc.py b/kcc.py index c59f2ad..296714a 100755 --- a/kcc.py +++ b/kcc.py @@ -18,7 +18,7 @@ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -__version__ = '4.3' +__version__ = '4.3.1' __license__ = 'ISC' __copyright__ = '2012-2014, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@iosphe.re>' __docformat__ = 'restructuredtext en' @@ -74,11 +74,8 @@ from multiprocessing import freeze_support from kcc import KCC_gui # OS specific PATH variable workarounds -if sys.platform.startswith('darwin'): - if 'RESOURCEPATH' in os.environ: - os.environ['PATH'] = os.environ['RESOURCEPATH'] + ':' + os.environ['PATH'] - else: - os.environ['PATH'] = os.path.dirname(os.path.abspath(__file__)) + '/other/:' + os.environ['PATH'] +if sys.platform.startswith('darwin') and 'RESOURCEPATH' not in os.environ: + os.environ['PATH'] = os.path.dirname(os.path.abspath(__file__)) + '/other/:' + os.environ['PATH'] elif sys.platform.startswith('win'): if getattr(sys, 'frozen', False): os.chdir(os.path.dirname(os.path.abspath(sys.executable))) |