forked from tuwid/darkc0de-old-stuff
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
48 lines (42 loc) · 1.34 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
# A very simple setup script to create an executable.
#
# Run the build process by entering 'setup.py py2exe' or
# 'python setup.py py2exe' in a console prompt.
#
# If everything works well, you should find a subdirectory named 'dist'
# containing some files, among them keylogger.exe and keylogger_debug.exe.
from distutils.core import setup
import py2exe
import version
setup(
# The first three parameters are not required, if at least a
# 'version' is given, then a versioninfo resource is built from
# them and added to the executables.
name = version.name,
version = version.version,
description = version.description,
url = version.url,
license = version.license,
author = version.author,
author_email = version.author_email,
platforms = [version.platform],
data_files = [("",["pykeylogger.ini",
"pykeylogger.val",
"CHANGELOG.TXT",
"LICENSE.txt",
"README.txt",
"TODO.txt"])],
# targets to build
console = [
{
"script": "keylogger.pyw",
"dest_base": "keylogger_debug"
}
],
windows = [
{
"script": "keylogger.pyw",
"dest_base": "keylogger"
}
],
)