File: setup-py2exe.py

package info (click to toggle)
python-pypubsub 4.0.3-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 928 kB
  • sloc: python: 4,884; makefile: 156; xml: 16; php: 2
file content (27 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (2)
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
26
27
"""
File based on a contribution from Josh Immanuel. Use via 

python setup-py2exe.py py2exe

which will create a dist folder containing the .exe, the python DLL, and a 
few other DLL deemed by py2exe to be critical to the application execution. 

The contents of the dist folder should then be packaged using a tool such 
as NSIS or Inno Setup. The py2exe page has an example for NSIS. 
"""

from distutils.core import setup

import py2exe

setup (
    name='TestPubSub',
    description="Script to test pubsub for packaging",
    version="0.1",
    
    console=[{'script': 'testpubsub.py'}],
    options={ 'py2exe': {
                'packages': 'encodings, pubsub',
                'includes': None}
            },
    )