diff options
-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") +) |