def run(self): try: from sagemath.check_version import check_version check_version(sage_required_version) except ImportError: print("WARNING sagemath not installed, not checking version") build_module.build.run(self)
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. The authors can be reached at: [email protected] and [email protected]. ==================================================================== """ try: from sagemath.check_version import check_version check_version(">=9.4") except ModuleNotFoundError as err: raise RuntimeError(""" Not all requirements of Isogeny Primes are installed. Please do sage -pip install -r requirements.txt Before continuing. """) from ModuleNotFoundError from .monkey_patch_sage import monkey_patch monkey_patch()
def run(self): from sagemath.check_version import check_version check_version(sage_required_version) build_module.build.run(self)