~ubuntu-branches/ubuntu/wily/labyrinth/wily

« back to all changes in this revision

Viewing changes to Windows/winsetup.py

  • Committer: Package Import Robot
  • Author(s): Thomas Kluyver
  • Date: 2012-11-02 15:56:06 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20121102155606-ulmkyje7ruxf93q5
Tags: 0.6-0ubuntu1
* New upstream release
  - Fixes LP: #353605
* Use packaging provided by upstream
  - Migrate from python-central to dh_python2

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
# GNU General Public License, version 2 or later
23
23
 
24
24
 
25
 
# for build this on a win32 environment and becames with a standalone distribution 
 
25
# for build this on a win32 environment and becames with a standalone distribution
26
26
# a base python 2.4 for 2in32 instalation must be present
27
27
# along with gtk+ development libraries
28
28
# pywin32com extensions, reportlab module, pygtk for win32 and pysqlite-1.1.7.win32-py2.4 (current win32 distro install is using this pysqlite 3 version)
50
50
import glob
51
51
import py2exe
52
52
 
53
 
opts = { 
54
 
    "py2exe": { 
 
53
opts = {
 
54
    "py2exe": {
55
55
        "includes": "cairo,pangocairo,pango,atk,gobject,xml.dom,xml.dom.minidom,threading,shutil,pygtk,gtk,sys,gtk.glade",
56
56
        "optimize": 2,
57
 
                "dist_dir": "dist\\data_files", 
58
 
    } 
59
 
 
57
                "dist_dir": "dist\\data_files",
 
58
    }
 
59
}
60
60
 
61
61
setup(
62
62
    name = "Labyrinth",
63
63
    description = "Labyrinth",
64
64
    version = "0.3",
65
 
    windows = [ 
66
 
        { 
67
 
            "script": "src\\labyrinth.py", 
68
 
            "icon_resources": [(1, "Windows\labyrinth.ico")] 
 
65
    windows = [
 
66
        {
 
67
            "script": "src\\labyrinth.py",
 
68
            "icon_resources": [(1, "Windows\labyrinth.ico")]
69
69
        }],
70
 
                options = opts,
71
 
                data_files=[
72
 
                ("images",
73
 
                glob.glob("data\\*.png")),
74
 
                ("data",
75
 
                glob.glob("data\\*.glade")),
76
 
                ("data",
77
 
                glob.glob("data\\*.xml")),
78
 
                ("",
79
 
                glob.glob("src\\*.py"))],
 
70
                options = opts,
 
71
                data_files=[
 
72
                ("images",
 
73
                glob.glob("data\\*.png")),
 
74
                ("data",
 
75
                glob.glob("data\\*.glade")),
 
76
                ("data",
 
77
                glob.glob("data\\*.xml")),
 
78
                ("",
 
79
                glob.glob("src\\*.py"))],
80
80
)