Skip to content

Instantly share code, notes, and snippets.

@DoctorMalboro
Created July 17, 2014 18:35
Show Gist options
  • Save DoctorMalboro/6c3c9cf7310a665c7165 to your computer and use it in GitHub Desktop.
Save DoctorMalboro/6c3c9cf7310a665c7165 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
import sys
import modulefinder
from glob import glob
from distutils.core import setup
import py2exe
data_files = [
# Data files...
]
mod_excludes = [
# Excludes...
]
setup(
name='Name of the service',
service=['service'], # Your service.py, without the .py!!!
description='', # Description
data_files=data_files,
options={
'py2exe': {
'includes':[],
'cmdline_style':'pywin32', # Uses pywin32 to create the service
'optimize':0
}
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment