diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..f150a7d
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,23 @@
+# 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 hello.exe and test_wx.exe.
+
+
+from distutils.core import setup
+import py2exe
+
+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.
+ version = "0.2.1",
+ description = "simple python keylogger",
+ name = "python keylogger",
+
+ # targets to build
+ console = ["keylogger.py"],
+ )