<commit_before>#
# Packaging
#
if( SimpleITK_PYTHON_EGG OR SimpleITK_PYTHON_WHEEL )
  if( NOT SITK_PYTHON_USE_VIRTUALENV )
    message( STATUS "Not using SimpleITK's virtualenv for distribution!\
Using unknown versions of pip, setuptools and/or wheel packages/" )
  endif()

  set(bdist_setup "${SimpleITK_Python_BINARY_DIR}/Packaging/setupegg.py")
  set(bdist_commands "")

  if( SimpleITK_PYTHON_EGG )
    set(bdist_commands "bdist_egg")
  endif()

  if( SimpleITK_PYTHON_WHEEL )
    set(bdist_commands ${bdist_commands} "bdist_wheel")
  endif()

  add_custom_target( dist.Python
    ${VIRTUAL_PYTHON_EXECUTABLE} ${bdist_setup} ${bdist_commands}
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    DEPENDS ${SWIG_MODULE_SimpleITKPython_TARGET_NAME}
    COMMENT "Creating Python binary distribution" )

  add_dependencies( dist.Python PythonVirtualEnv)
  add_dependencies( dist dist.Python )
elseif()
  message( STATUS "Not creating dist.Python target since SITK_FORBID_DOWNLOADS is enabled" )
endif()
<commit_msg>Fix "dist/dist" path for output of whl and eggs<commit_after>#
# Packaging
#
if( SimpleITK_PYTHON_EGG OR SimpleITK_PYTHON_WHEEL )
  if( NOT SITK_PYTHON_USE_VIRTUALENV )
    message( STATUS "Not using SimpleITK's virtualenv for distribution!\
Using unknown versions of pip, setuptools and/or wheel packages/" )
  endif()

  set(bdist_setup "${SimpleITK_Python_BINARY_DIR}/Packaging/setupegg.py")
  set(bdist_commands "")

  if( SimpleITK_PYTHON_EGG )
    set(bdist_commands "bdist_egg")
  endif()

  if( SimpleITK_PYTHON_WHEEL )
    set(bdist_commands ${bdist_commands} "bdist_wheel")
  endif()

  add_custom_target( dist.Python
    ${VIRTUAL_PYTHON_EXECUTABLE} ${bdist_setup} ${bdist_commands}
    WORKING_DIRECTORY ${SimpleITK_Python_BINARY_DIR}
    DEPENDS ${SWIG_MODULE_SimpleITKPython_TARGET_NAME}
    COMMENT "Creating Python binary distribution" )

  add_dependencies( dist.Python PythonVirtualEnv)
  add_dependencies( dist dist.Python )
elseif()
  message( STATUS "Not creating dist.Python target since SITK_FORBID_DOWNLOADS is enabled" )
endif()

{'fraction_non_alphanumeric': 0.08836310960888459, 'fraction_numerical': 0.0, 'mean_word_length': 5.641025641025641, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7468103', 'n_tokens_mistral': 779, 'n_tokens_neox': 732, 'n_words': 154}