diff --git a/setup.py b/setup.py index 59eab74..22b26e4 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,18 @@ -from distutils.core import setup +from setuptools import setup, Extension from Cython.Build import cythonize +extensions = [ + Extension("walls", ["walls.pyx"]), + Extension("ray", ["ray.pyx"]) +] + setup( - ext_modules=cythonize(["walls.pyx", "ray.pyx"]) + author='Yunus Ruzmetov', + license='GPL-3.0', + ext_modules=cythonize(extensions), + python_requires='>=3.6', + install_requires=[ + "pygame", + "cython" + ] )