/usr/share/pyshared/guidata/tests/disthelpers.py is in python-guidata 1.6.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # -*- coding: utf-8 -*-
#
# Copyright © 2011 CEA
# Pierre Raybaut
# Licensed under the terms of the CECILL License
# (see guidata/__init__.py for details)
"""
guidata.disthelpers demo
How to create an executable with py2exe or cx_Freeze with less efforts than
writing a complete setup script.
"""
SHOW = True # Show test in GUI-based test launcher
from guidata.disthelpers import Distribution
if __name__ == '__main__':
dist = Distribution()
dist.setup(name="Application demo", version='1.0.0',
description="Application demo based on editgroupbox.py",
script="editgroupbox.py", target_name="demo.exe")
dist.add_modules('guidata')
dist.build('cx_Freeze')
|