Add setup script for cx_Freeze
authorMatthews <oliver.matthews@hpe.com>
Wed, 5 Feb 2020 11:31:34 +0000 (11:31 +0000)
committerMatthews <oliver.matthews@hpe.com>
Wed, 5 Feb 2020 11:31:34 +0000 (11:31 +0000)
setup.py [new file with mode: 0644]

diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..dc4392f
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,19 @@
+from cx_Freeze import setup, Executable
+
+# Dependencies are automatically detected, but it might need
+# fine tuning.
+buildOptions = dict(packages = [], excludes = [])
+
+base = 'Console'
+
+executables = [
+    Executable('thingy_grabber.py', base=base)
+]
+
+
+# Usage: python setup.py build
+setup(name='Thingy Grabber',
+      version = '0.6.2',
+      description = 'Thingiverse Grabber',
+      options = dict(build_exe = buildOptions),
+      executables = executables)