1
# -*- coding: utf-8 -*-
3
# Copyright © 2011 Pierre Raybaut
4
# Licensed under the terms of the MIT License
5
# (see spyderlib/__init__.py for details)
7
"""Create a stand-alone executable"""
10
from guidata.disthelpers import Distribution
12
raise ImportError, "This script requires guidata 1.4+"
17
def create_executable():
18
"""Build executable using ``guidata.disthelpers``"""
20
dist.setup(name="Example", version="1.1",
21
description=u"Embedding Spyder Qt shell",
22
script="example.pyw", target_name="example.exe")
23
spyderlib.add_to_distribution(dist)
24
#dist.add_modules('matplotlib') # Uncomment if you need matplotlib
25
dist.excludes += ['IPython']
27
dist.build('cx_Freeze')
30
if __name__ == '__main__':
1
# -*- coding: utf-8 -*-
3
# Copyright © 2011 Pierre Raybaut
4
# Licensed under the terms of the MIT License
5
# (see spyderlib/__init__.py for details)
7
"""Create a stand-alone executable"""
10
from guidata.disthelpers import Distribution
12
raise ImportError, "This script requires guidata 1.4+"
17
def create_executable():
18
"""Build executable using ``guidata.disthelpers``"""
20
dist.setup(name="Example", version="1.1",
21
description=u"Embedding Spyder Qt shell",
22
script="example.pyw", target_name="example.exe")
23
spyderlib.add_to_distribution(dist)
24
#dist.add_modules('matplotlib') # Uncomment if you need matplotlib
25
dist.excludes += ['IPython']
27
dist.build('cx_Freeze')
30
if __name__ == '__main__':