1- from setuptools import setup , Extension
1+ from setuptools import setup , Extension , find_packages
22from Cython .Build import cythonize
33
44
@@ -30,6 +30,7 @@ def import_module_from_path(path):
3030 raise RuntimeError ("Cuda or optix not found in the system" )
3131
3232extensions = [Extension ("*" , ["optix/*.pyx" ], include_dirs = [cuda_include_path , optix_include_path ])]
33+ extensions = cythonize (extensions , language_level = "3" )
3334
3435with open ("README.md" , "r" , encoding = "utf-8" ) as fh :
3536 long_description = fh .read ()
@@ -41,26 +42,35 @@ def import_module_from_path(path):
4142 version = version ,
4243 author = "Felix Igelbrink" ,
4344 author_email = "felix.igelbrink@uni-osnabrueck.de" ,
44- description = "Python bindings to the optiX raytracing framework by nvidia" ,
45+ description = "Python bindings to the OptiX raytracing engine by nvidia" ,
4546 long_description = long_description ,
46- long_descriptiopn_content_type = "text/markdown" ,
47+ long_description_content_type = "text/markdown" ,
4748 url = "https://github.com/mortacious/python-optix" ,
4849 project_urls = {
4950 "Bug Tracker" : "https://github.com/mortacious/python-optix/issues" ,
5051 },
51- ext_modules = cythonize (extensions , language_level = "3" ),
52+ packages = find_packages (exclude = ['tests' , 'examples' ]),
53+ ext_modules = extensions ,
5254 install_requires = [
5355 'numpy' ,
5456 'cupy>=9.0'
5557 ],
5658 license = "MIT" ,
5759 classifiers = [
58- "Programming Language :: Python :: 3" ,
60+ "Programming Language :: Python :: 3.8" ,
61+ "Programming Language :: Python :: 3.9" ,
5962 "License :: OSI Approved :: MIT License" ,
60- "Operating System :: Linux" ,
63+ "Operating System :: POSIX :: Linux" ,
64+ "Environment :: GPU :: NVIDIA CUDA" ,
65+ "Development Status :: 4 - Beta" ,
66+ "Intended Audience :: Science/Research" ,
67+ "Intended Audience :: Developers" ,
68+ "Topic :: Scientific/Engineering" ,
69+ "Topic :: Software Development" ,
6170 ],
6271 extras_require = {
6372 'examples' : ["pillow" ]
6473 },
65- python_requires = ">=3.8"
74+ python_requires = ">=3.8" ,
75+ zip_safe = False
6676)
0 commit comments