Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/pkgs/sage-conf/setup.py
4081 views
1
from setuptools import setup
2
from setuptools.dist import Distribution
3
4
# setuptools plugins considered harmful:
5
# If build isolation is not in use and setuptools_scm is installed,
6
# then its file_finders entry point is invoked, which we don't need.
7
# And with setuptools_scm 8, we get more trouble:
8
# LookupError: pyproject.toml does not contain a tool.setuptools_scm section
9
# LookupError: setuptools-scm was unable to detect version ...
10
# We just remove all handling of "setuptools.finalize_distribution_options" entry points.
11
Distribution._removed = staticmethod(lambda ep: True)
12
13
setup()
14
15