From ea632d33c26f1b1df26c9a903cb534d6612dcf3b Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Thu, 5 Feb 2015 14:24:23 -0600 Subject: [PATCH] Revert "Initial setup for cx_freeze" This reverts commit 35feb628e048411a76988cbf06028ada7efbcaaa. --- setup.py | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/setup.py b/setup.py index 1250190c5..84dd33b30 100644 --- a/setup.py +++ b/setup.py @@ -3,13 +3,6 @@ from setuptools import setup, find_packages -try: - import cx_Freeze - HAVE_CXFREEZE = True - setup = cx_Freeze.setup -except ImportError: - HAVE_CXFREEZE = False - ver_dic = {} version_file = open("loopy/version.py") try: @@ -19,24 +12,6 @@ finally: exec(compile(version_file_contents, "pyopencl/version.py", 'exec'), ver_dic) -setup_kwargs = {} - -if HAVE_CXFREEZE: - setup_kwargs = dict( - executables=[ - cx_Freeze.Executable( - 'bin/loopy', - base='Console', - targetName='loopy') - ], - options=dict( - build_exe=dict( - packages=[], - excludes=["scipy", "meshpy", "Tkinter", "pyublas", "hedge", "pyopencl"] - )) - ) - - setup(name="loo.py", version=ver_dic["VERSION_TEXT"], description="A code generator for array-based code on CPUs and GPUs", @@ -77,5 +52,4 @@ setup(name="loo.py", author_email="inform@tiker.net", license="MIT", packages=find_packages(), - - **setup_kwargs) + ) -- GitLab