You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-37286: sagemath-standard: fix manifest
This PR fixes two issues with the manifest for sagemath-standard:
- src/MANIFEST.in: don't include stuff outside src/sage
The use of `global-include <PATTERN>` is inconvenient since it will
include any file matching the pattern anywhere; replace it with
`recursive-include sage <PATTERN>` which is what we really mean.
- sagemath-standard/setup.py: workaround setuptools_scm
The workaround already there is not good for setuptools_scm >= 8.
Implement a more robust workaround (should work for any version of
setuptools_scm but I have not tested, so I did not remove the old
workaround -- it's harmless to apply both).
### 📝 Checklist
- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
URL: #37286
Reported by: Gonzalo Tornaría
Reviewer(s):
Copy file name to clipboardExpand all lines: src/MANIFEST.in
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
include VERSION.txt
2
2
3
-
global-include *.pxi *.pxd *.h *.hpp
3
+
recursive-include sage *.pxi *.pxd *.h *.hpp
4
4
5
5
prune sage/ext/interpreters # In particular, __init__.py must not be present in the distribution; or sage_setup.autogen.interpreters.rebuild will not generate the code
0 commit comments