Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 1881b0fd authored by hhakim's avatar hhakim
Browse files

Fix pypi classifier error: CUDA 11.4 is not classified on pypi (so put only...

Fix pypi classifier error: CUDA 11.4 is not classified on pypi (so put only CUDA 9.2 in classifier list)

If one day CUDA 11.4 is added on pypi.org (https://pypi.org/classifiers/) we'll modify it.
This commit fixes issue #216.
parent 67d61711
No related branches found
No related tags found
No related merge requests found
Pipeline #834201 skipped
......@@ -203,7 +203,10 @@ if(USE_GPU_MOD)
file(CREATE_LINK ${CUDA_CONF_GPU_MOD_NAME} ${GPU_MOD_LIB_PPATH}/${GPU_MOD_LIB} RESULT SYMLINK_OK SYMBOLIC)
install(FILES ${GPU_MOD_LIB_PPATH}/${GPU_MOD_LIB} DESTINATION ${CMAKE_INSTALL_PYTHON_PREFIX}/pyfaust/lib)
endif()
set(GPU_CUDA_VERSION_PYPI_CLASSIFIER "${GPU_CUDA_VERSION_PYPI_CLASSIFIER} Environment :: GPU :: NVIDIA CUDA :: ${CUDA_CONF},")
# don't add a classifier for CUDA 11.4 because it is not yet indexed on pypi.org https://pypi.org/classifiers
if(NOT CUDA_CONF MATCHES 11.4)
set(GPU_CUDA_VERSION_PYPI_CLASSIFIER "'${GPU_CUDA_VERSION_PYPI_CLASSIFIER}Environment :: GPU :: NVIDIA CUDA :: ${CUDA_CONF}', ")
endif()
endforeach()
endif()
......
......@@ -59,7 +59,7 @@ setup(
""",
classifiers = [ 'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'@GPU_CUDA_VERSION_PYPI_CLASSIFIER@'],
@GPU_CUDA_VERSION_PYPI_CLASSIFIER@],
install_requires = [@PYFAUST_PYTHON_REQUIREMENTS_AS_PYLIST@],
license = "3-clause BSD 2.0",
package_data = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment