Skip to content

Commit

Permalink
Improved setup file
Browse files Browse the repository at this point in the history
  • Loading branch information
WaterNewt committed Mar 23, 2024
1 parent c49db15 commit 742c2d2
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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"
]
)

0 comments on commit 742c2d2

Please sign in to comment.