⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dolfin.py

📁 利用C
💻 PY
字号:
#!/usr/bin/env python# -*- coding: utf-8 -*-## Copyright (C) 2006 Simula Research Laboratory# Author: Ola Skavhaug, 脜smund 脴deg氓rdfrom os import systemimport os, sysfrom os.path import sep, joinfrom commonPkgConfigUtils import *def pkgTests(forceCompiler=None, sconsEnv=None, **kwargs):    return True# Generate a pkg-config file for dolfin, put it in the given # directory, if no directory is given, a suitable location is found # using the functionality from commonPkgConfigUtils.# Nothing in kwargs is used, it is included to ensure a consitent # interface for the generatePkgConf function.def generatePkgConf(directory=suitablePkgConfDir(),**kwargs):        print """\nError:\n\nDOLFIN now supplies its own pkg-config file, which we areunable to find! Either copy that file to a directory search by pkg-config, or add the directory where DOLFIN installs the file to your PKG_CONFIG_PATH environment variable. The directory in question is $prefix/lib/pkgconfig, where $prefix is the install prefix for DOLFIN\n\n"""    sys.exit(1)if __name__ == "__main__":    generatePkgConf(directory=".")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -