Skip to content

Commit

Permalink
Merge pull request GUDHI#870 from VincentRouvreau/monve_introduction.rst
Browse files Browse the repository at this point in the history
Move introduction .rst in doc and renamed as not used in the python doc
  • Loading branch information
VincentRouvreau authored Apr 18, 2023
2 parents 99b55b5 + 935603d commit 7df641b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,12 @@ if(PYTHONINTERP_FOUND)
set( GUDHI_PYTHON_RUNTIME_LIBRARY_DIRS "${GUDHI_PYTHON_LIBRARY_DIRS}")
endif(UNIX AND WITH_GUDHI_PYTHON_RUNTIME_LIBRARY_DIRS)

# Generate setup.py file to cythonize Gudhi - This file must be named setup.py by convention
file(READ "introduction.rst" GUDHI_LONG_DESCRIPTION_WITH_UNPROPER_CR)
# doc/pip_introduction.inc is a restructured text file (extension changed because of sphinx warning) that describes
# the GUDHI project on https://pypi.org/project/gudhi/
file(READ "doc/pypi_introduction.inc" GUDHI_LONG_DESCRIPTION_WITH_UNPROPER_CR)
string(REPLACE "\n" "\\n' \\\n '" GUDHI_LONG_DESCRIPTION ${GUDHI_LONG_DESCRIPTION_WITH_UNPROPER_CR})

# Generate setup.py file to cythonize Gudhi - This file must be named setup.py by convention
configure_file(setup.py.in "${CMAKE_CURRENT_BINARY_DIR}/setup.py" @ONLY)

# Generate gudhi/__init__.py
Expand Down
File renamed without changes.

0 comments on commit 7df641b

Please sign in to comment.