Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/MANIFEST.in: Exclude generated file farey_symbol.h; add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Oct 4, 2022
1 parent 974c7fd commit 25898ba
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,15 @@ __pycache__/
# Generated Cython files
*.so
**/*.so
/src/cython_debug
# Most C and C++ files are generated by Cython and should not
# be included in the sdist.
/src/sage/**/*.c
/src/sage/**/*.cpp
# C header generated by Cython
/src/sage/modular/arithgroup/farey_symbol.h
# List of C and C++ files that are actual source files,
# NOT generated by Cython. The same list appears in src/MANIFEST.in
!/src/sage/cpython/debugimpl.c
!/src/sage/graphs/base/boost_interface.cpp
!/src/sage/graphs/cliquer/cl.c
Expand All @@ -156,7 +162,6 @@ __pycache__/
!/src/sage/stats/distributions/dgs_gauss_dp.c
!/src/sage/stats/distributions/dgs_gauss_mp.c
!/src/sage/symbolic/ginac/*.cpp
/src/cython_debug

# Temporary build files
build/temp.*/
Expand Down
10 changes: 9 additions & 1 deletion src/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@ prune sage_setup
prune sage_docbuild
prune doc

#
# Most C and C++ files are generated by Cython and should not
# be included in the sdist.
#
global-exclude *.c
global-exclude *.cpp
include sage/modular/arithgroup/farey_symbol.h

#
# List of C and C++ files that are actual source files,
# NOT generated by Cython. The same list appears in SAGE_ROOT/.gitignore
#
include sage/cpython/debugimpl.c
include sage/graphs/base/boost_interface.cpp
include sage/graphs/cliquer/cl.c
Expand Down

0 comments on commit 25898ba

Please sign in to comment.