From e31390006c20445d5647d5be3ee785067caafd8a Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sat, 2 Jun 2018 17:07:09 +0200 Subject: The initial commit. --- .gitignore | 4 ++++ helloworld.pyx | 1 + setup.py | 6 ++++++ 3 files changed, 11 insertions(+) create mode 100644 .gitignore create mode 100644 helloworld.pyx create mode 100644 setup.py 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") +) -- cgit