From e859a2a4ae09eb7fd3a91ce33d7f9f25640b4771 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Fri, 29 Dec 2017 16:00:33 +0200 Subject: [PATCH] Try to fix setup.py w py2exe. --- .appveyor.yml | 1 - setup.py | 2 +- tests/style/py-flake8.t | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index e97404bc..5cc871fe 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -2,7 +2,6 @@ # Shamelessly taken from https://github.com/plicease/Dist-Zilla-PluginBundle-Author-Plicease/blob/master/.appveyor.yml # Thanks! install: - - choco install ag - choco install strawberryperl - copy c:\Python35-x64\python.exe c:\Python35-x64\python3.exe - SET PATH=C:\Python35-x64;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH% diff --git a/setup.py b/setup.py index 84d7200d..c032b022 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from distutils.core import setup from pysollib.settings import VERSION from pysollib.settings import PACKAGE_URL if os.name == 'nt': - eval('import py2exe') + import py2exe if os.name == 'posix': data_dir = 'share/PySolFC' diff --git a/tests/style/py-flake8.t b/tests/style/py-flake8.t index ea10167b..41934382 100644 --- a/tests/style/py-flake8.t +++ b/tests/style/py-flake8.t @@ -26,6 +26,7 @@ my %skip = ( pysollib/tile/ttk.py pysollib/ui/tktile/Canvas2.py scripts/all_games.py + ./setup.py ) );