コード例 #1
0
ファイル: setup.py プロジェクト: QuinnSong/QesGen
    # testpubsub is currently a console application
    base = 'Win32GUI'
    # base = 'Console'
else:
    base = None

opts = {'compressed': True,
        'create_shared_zip': False,
        }

WIN_Target = cxExecutable(
    script='MyQesGen.py',
    base=base,
    targetName=u'LoveMath.exe',
    compress=True,
    appendScriptToLibrary=False,
    appendScriptToExe=False,
    excludes={'doctest',
              'optparse', 'pickle', 'numpy', 'pydoc', 'pygame'
              },
    icon='heart.ico'
)

setup(
    name=u'四则运算题库',
    description=u"自动生成四则运算题",
    version=u'1.35',
    author=u'Quinn',

    options={'build_exe': opts},
    executables=[WIN_Target]
)
コード例 #2
0
ファイル: setup.py プロジェクト: Greem4ik/sketches
if sys.platform == "win32":
    base = "Console"

build_exe_options = {
    "base":
    base,
    "compressed":
    True,
    "create_shared_zip":
    True,
    "packages": ["os", "sys", "re", "PIL"],
    "excludes": ["tcl", "Tkconstants", "Tkinter"],
    "include_files": [
        "patterns/0.png", "patterns/1.png", "patterns/2.png", "patterns/3.png",
        "patterns/4.png", "patterns/5.png", "patterns/6.png", "patterns/7.png",
        "patterns/8.png", "patterns/9.png", "patterns/dot.png",
        "patterns/colon.png"
    ]
}

WIN_Target = cxExecutable(script="ocr.py",
                          targetName="ocr.exe",
                          compress=True,
                          appendScriptToLibrary=False,
                          appendScriptToExe=True)

setup(name="dummy_ocr",
      version="0.0.1",
      description="Dummy OCR 0.0.1",
      options={"build_exe": build_exe_options},
      executables=[WIN_Target])
コード例 #3
0
    "osmpmvs/",
    "point_cloud/",
    "segmentation_files/",
    "software/",
    "curr_proj.txt",
    "osmbundler/",
    "resources/",
    "InstallationandUserManuals/",
    "trivim1.jpg",
    "isro1.jpg",
    "iirs.jpg",
]
excludes = []
packages = ["matplotlib"]

WIN_Target = cxExecutable(
    script="NewApplication.py",
    targetName="Trivim.exe",
    compress=True,
    appendScriptToLibrary=True,
    appendScriptToExe=True,
)

setup(
    name="NewApplication",
    description="Script to test pubsub for packaging with cxfreeze",
    version="0.1",
    options={"build_exe": {"excludes": excludes, "packages": packages, "include_files": includefiles}},
    executables=[WIN_Target],
)
コード例 #4
0
ファイル: setup-cxfreeze.py プロジェクト: yutiansut/pypubsub
from cx_Freeze import setup, Executable as cxExecutable
import platform

if platform.system() == 'Windows':
    # base must be set on Windows to either console or gui app
    # testpubsub is currently a console application
    # base = 'Win32GUI'
    base = 'Console'
else:
    base = None

opts = {
    'compressed': True,
    'create_shared_zip': False,
}

WIN_Target = cxExecutable(script='testpubsub.py',
                          base=base,
                          targetName='testpubsub.exe',
                          compress=True,
                          appendScriptToLibrary=False,
                          appendScriptToExe=True)

setup(name='TestPubSub',
      description="Script to test pubsub for packaging with cxfreeze",
      version='0.1',
      options={'build_exe': opts},
      executables=[WIN_Target])
コード例 #5
0
from cx_Freeze import setup, Executable as cxExecutable
import matplotlib
import os
wrk_drr = os.path.dirname(os.path.realpath('__file__'))
os.chdir(wrk_drr)

includefiles = [
    'debug/', 'forms/', 'images/', 'release/', 'document/', 'language script/'
]
excludes = []
packages = ['numpy', 'matplotlib', 'PIL', 'skimage', 'scipy']

WIN_Target = cxExecutable(script='main.py',
                          targetName='Dharohar.exe',
                          base="Win32GUI",
                          icon='icon.ico')

setup(name='main',
      description="Script to test pubsub for packaging with cxfreeze",
      version='0.1',
      options={
          'build_exe': {
              'excludes': excludes,
              'packages': packages,
              'include_files': includefiles,
          }
      },
      executables=[WIN_Target])
コード例 #6
0
ファイル: build.py プロジェクト: DanFaudemer/TFC
else:
    base = None

opts = { 'compressed' : True,
         'create_shared_zip' : False,
         'packages' : ['pubsub.core.kwargs',
                       'pubsub.core.arg1',
                       'pubsub.core.publisherbase',
                       'pubsub.core.listenerbase',
                       'tkinter.filedialog'],
         'silent' : True
         }

WIN_Target = cxExecutable(
    script='GUI.py',
    base=base,
    targetName='GUI.exe',
    compress=True,
    appendScriptToLibrary=False,
    appendScriptToExe=True
    )

setup(
    name='Gui',
    description="FSL_CUP",
    version='0.1',
    
    options={'build_exe' : opts},
    executables=[WIN_Target]
    )
コード例 #7
0
ファイル: setup.py プロジェクト: andrey-stekov/sketches
    "compressed" : True,
    "create_shared_zip" : True,
    "packages": ["os", "sys", "re", "PIL"],
    "excludes": ["tcl", "Tkconstants", "Tkinter"],
    "include_files" : [
        "patterns/0.png",
        "patterns/1.png",
        "patterns/2.png",
        "patterns/3.png",
        "patterns/4.png",
        "patterns/5.png",
        "patterns/6.png",
        "patterns/7.png",
        "patterns/8.png",
        "patterns/9.png",
        "patterns/dot.png",
        "patterns/colon.png"
    ]
}

WIN_Target = cxExecutable(script = "ocr.py",
    targetName = "ocr.exe",
    compress = True,
    appendScriptToLibrary = False,
    appendScriptToExe = True)

setup(  name = "dummy_ocr",
        version = "0.0.1",
        description = "Dummy OCR 0.0.1",
        options = {"build_exe": build_exe_options},
        executables = [WIN_Target])
コード例 #8
0
from cx_Freeze import setup, Executable as cxExecutable
import matplotlib
import os
wrk_drr = os.path.dirname(os.path.realpath(__file__))
os.chdir(wrk_drr)

includefiles = [
    'camera_calibration/', '3d-modelling/', 'osmcmvs/', 'osmpmvs/',
    'point_cloud/', 'software/', 'curr_proj.txt', 'osmbundler/',
    'InstallationandUserManuals/', 'trivim1.jpg', 'isro1.jpg', 'iirs.jpg'
]
excludes = []
packages = ['numpy', 'matplotlib', 'collada', 'PIL']

WIN_Target = cxExecutable(script='NewApplication.py', targetName='Trivim.exe')

setup(name='NewApplication',
      description="Script to test pubsub for packaging with cxfreeze",
      version='0.1',
      options={
          'build_exe': {
              'excludes': excludes,
              'packages': packages,
              'include_files': includefiles,
          }
      },
      executables=[WIN_Target])
コード例 #9
0
ファイル: setup.py プロジェクト: seet61/one
#setup.py
from cx_Freeze import setup, Executable as cxExecutable
import platform, sys
 
base = None
if sys.platform == "win32":
    base = "Console"
 
build_exe_options = {
    "base": base,
    "compressed" : True,
    "create_shared_zip" : True,
    "packages": ["os", "sys", "shutil", "vk", "logging", "requests", "urllib.request", "connect", "manipulation"],
    #"icon" : ["Mafia-2-3-icon"],
    "include_files" : [
        "readme.txt"
    ]
}
 
WIN_Target = cxExecutable(script = "audio_sync.py",
    targetName = "vksync.exe",
    compress = True,
    appendScriptToLibrary = False,
    appendScriptToExe = True)
 
setup(  name = "vkMusicSync",
        version = "0.2",
        description = "vkMusicSync",
        options = {"build_exe": build_exe_options},
        executables = [WIN_Target])
コード例 #10
0
ファイル: setup.py プロジェクト: sergnov/PrgViewer
from cx_Freeze import setup, Executable as cxExecutable
import platform, sys 

base = None
if sys.platform == "win32":    
    base = "Win32GUI" 

includeFiles = ['PRGViewer-logo.ico','1.prg','Readme-Ru.pdf','msvcr100.dll']

build_exe_options = {    
    "base": base,    
    "compressed" : True,    
    "create_shared_zip" : True,    
    "packages": ["os", "tkinter", "random", "prgLibrary"],
    "icon": "PRGViewer-logo.ico",
    'include_files': includeFiles,
    #'includeMSVCR' : True,
} 

WIN_Target = cxExecutable(script = "PRGViewer.py",    
    targetName = "PRGViewer.exe",    
    compress = True,    
    appendScriptToLibrary = False,    
    appendScriptToExe = True,
    icon = "PRGViewer-logo.ico")
    
setup(name = "PRGViewer",        
    version = "2.4.1",
    description = "PRGViewer by Novicov 2.4.1",
    options = {"build_exe": build_exe_options},        
    executables = [WIN_Target])
コード例 #11
0
from cx_Freeze import setup, Executable as cxExecutable
import matplotlib

includefiles = ['camera_calibration/','3d-modelling/','osmcmvs/','osmpmvs/',
                'point_cloud/','segmentation_files/','software/','curr_proj.txt',
                'osmbundler/','resources/','InstallationandUserManuals/',
                'trivim1.jpg','isro1.jpg','iirs.jpg']
excludes = []
packages = ['matplotlib']

WIN_Target = cxExecutable(
    script='NewApplication.py',
    targetName='Trivim.exe',
    compress=True,
    appendScriptToLibrary=True,
    appendScriptToExe=True
    )

setup(
    name='NewApplication',
    description="Script to test pubsub for packaging with cxfreeze",
    version='0.1',
    
    options = {'build_exe': {'excludes':excludes,'packages':packages,'include_files':includefiles,}}, 
    executables=[WIN_Target]
    )
コード例 #12
0
#------------------------------------------------------------------------

opts = {  # 'compressed' : True,
    # 'create_shared_zip' : False,
    # 'bin_includes' : bin_includes,
    # 'includes' : 'pywintypes',
    'packages': [
        'pubsub.core.kwargs', 'pubsub.core.arg1', 'configobj', 'wordcloud',
        'win32com'
    ],
    #'zip_includes' : [('C:\\Python27\\Lib\site-packages\\wordcloud\\','wordcloud\\')]
}

WIN_Target = cxExecutable(
    script='image_viewer.py',
    base=base,
    targetName=u'JPGTools.exe',
    #compress=True,
    #appendScriptToLibrary=False,
    #appendScriptToExe=False,
    #excludes=['_ssl',
    #'pyreadline','doctest', 'scipy',
    #'optparse', 'pickle', 'calendar'],  # Exclude standard library
)

setup(name=u'JPGTools',
      description=u"查看缩放裁剪等功能的图片工具",
      version=u'1.0.0',
      author=u'Quinn Song',
      options={'build_exe': opts},
      executables=[WIN_Target])
コード例 #13
0
ファイル: setup.py プロジェクト: mdczaplicki/KnapsackProblem
if platform.system() == 'Windows':
    # base must be set on Windows to either console or gui app
    # testpubsub is currently a console application
    # base = 'Win32GUI'
    base = 'Console'
else:
    base = None

opts = { 'compressed' : True,
         'create_shared_zip' : False,
         'packages' : ['pubsub.core.kwargs', 'pubsub.core.arg1'],
         }

WIN_Target = cxExecutable(
    script='ViewerController.py',
    base=base,
    targetName='a.exe',
    compress=True,
    appendScriptToLibrary=False,
    appendScriptToExe=True
    )

setup(
    name='TestPubSub',
    description="Script to test pubsub for packaging with cxfreeze",
    version='0.1',

    options={'build_exe' : opts},
    executables=[WIN_Target]
    )