summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-06-02 17:07:09 +0200
committerMatěj Cepl <mcepl@cepl.eu>2018-06-02 17:07:09 +0200
commite31390006c20445d5647d5be3ee785067caafd8a (patch)
tree3bce5ab9b23993705b587e7b86a56c2f455f8a1a
downloadplay_with_bindings-e31390006c20445d5647d5be3ee785067caafd8a.tar.gz
The initial commit.
-rw-r--r--.gitignore4
-rw-r--r--helloworld.pyx1
-rw-r--r--setup.py6
3 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9021ee4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.c
+*~
+*.so
+build/ \ No newline at end of file
diff --git a/helloworld.pyx b/helloworld.pyx
new file mode 100644
index 0000000..ad35e5a
--- /dev/null
+++ b/helloworld.pyx
@@ -0,0 +1 @@
+print("Hello World")
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..d4a3f2f
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,6 @@
+from distutils.core import setup
+from Cython.Build import cythonize
+
+setup(
+ ext_modules = cythonize("helloworld.pyx")
+)