diff options
Diffstat (limited to 'docs/examples/quickstart/build')
-rw-r--r-- | docs/examples/quickstart/build/hello.pyx | 4 | ||||
-rw-r--r-- | docs/examples/quickstart/build/setup.py | 13 |
2 files changed, 10 insertions, 7 deletions
diff --git a/docs/examples/quickstart/build/hello.pyx b/docs/examples/quickstart/build/hello.pyx index 47fc8d1cf..da1b827ac 100644 --- a/docs/examples/quickstart/build/hello.pyx +++ b/docs/examples/quickstart/build/hello.pyx @@ -1,2 +1,2 @@ -def say_hello_to(name):
- print("Hello %s!" % name)
+def say_hello_to(name): + print("Hello %s!" % name) diff --git a/docs/examples/quickstart/build/setup.py b/docs/examples/quickstart/build/setup.py index 4fb8c8154..fe959a106 100644 --- a/docs/examples/quickstart/build/setup.py +++ b/docs/examples/quickstart/build/setup.py @@ -1,5 +1,8 @@ -from distutils.core import setup
-from Cython.Build import cythonize
-
-setup(name='Hello world app',
- ext_modules=cythonize("hello.pyx"))
+from setuptools import setup +from Cython.Build import cythonize + +setup( + name='Hello world app', + ext_modules=cythonize("hello.pyx"), + zip_safe=False, +) |