-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
61 lines (47 loc) · 1.36 KB
/
setup.py
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
__author__="cjh66"
__date__ ="$May 11, 2010 11:28:14 AM$"
from setuptools import setup, find_packages
import py2exe
class Target:
def __init__(self, **kw):
self.__dict__.update(kw)
# for the versioninfo resources
self.version = "0.5.0"
self.company_name = "No Company"
self.copyright = "no copyright"
self.name = "py2exe sample files"
myservice = Target(
description = "A sample Windows NT service",
modules = ['service'],
cmdline_style='pywin32'
)
#setup(
# options = {"py2exe": {"compressed": 1, "bundle_files": 1} },
# console=["service.py"],
# zipfile = None,
# service=[myservice]
#)
setup (
name = 'Munin_Node',
version = '0.1',
packages = find_packages(),
# Declare your packages' dependencies here, for eg:
#install_requires=['foo>=3'],
# Fill in these to make your Egg ready for upload to
# PyPI
author = 'cjh66',
author_email = '',
options = {"py2exe": {
"compressed": 1,
"bundle_files": 3,
"includes":"win32com,win32service,win32serviceutil,win32event",
"packages":"encodings",
} },
console=["service.py"],
service=[myservice],
summary = 'Just another Python package for the cheese shop',
url = '',
license = '',
long_description= 'Long description of the package',
# could also include long_description, download_url, classifiers, etc.
)