diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2018-06-02 17:07:09 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2018-06-02 17:07:09 +0200 |
commit | e31390006c20445d5647d5be3ee785067caafd8a (patch) | |
tree | 3bce5ab9b23993705b587e7b86a56c2f455f8a1a | |
download | play_with_bindings-e31390006c20445d5647d5be3ee785067caafd8a.tar.gz |
The initial commit.
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | helloworld.pyx | 1 | ||||
-rw-r--r-- | setup.py | 6 |
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") +) |