資源簡(jiǎn)介
mfix官方下載的源代碼,詳細(xì)信息科訪問(wèn) https://mfix.netl.doe.gov/ ,或者直接度娘mfix
代碼片段和文件信息
“““A?setuptools?based?setup?module?for?the?MFiX?GUI.
See:
https://packaging.python.org/en/latest/distributing.html
https://mfix.netl.doe.gov/
“““
import?io
import?os
from?os.path?import?dirname?join?normpath
from?setuptools?import?setup?find_packages
from?mfixgui.version?import?__version__
#?Get?the?long?description?from?the?README?file
README?=?join(normpath(dirname(__file__))?“README.rst“)
with?io.open(README?encoding=“utf-8“)?as?readme:
????LONG_DEscriptION?=?readme.read()
setup(
????name=“mfix“
????#?Versions?should?comply?with?PEP440.??For?a?discussion?on?single-sourcing
????#?the?version?across?setup.py?and?the?project?code?see
????#?https://packaging.python.org/en/latest/single_source_version.html
????version=__version__
????description=“MFiX?computational?fluid?dynamics?software“
????long_description=LONG_DEscriptION
????#?The?project‘s?main?homepage.
????url=“https://mfix.netl.doe.gov/“
????#?Author?details
????author=“Multiflow?Science?Group?at?NETL“
????platforms=[“any“]
????#?Choose?your?license
????license=“public?domain“
????#?To?avoid?installing?in?an?.egg?subdirectory
????zip_safe=False
????#?See?https://pypi.python.org/pypi?%3Aaction=list_classifiers
????classifiers=[
????????“Development?Status?::?5?-?Production/Stable“
????????“Intended?Audience?::?Developers“
????????“Topic?::?Computational?Fluid?Dynamics?::?GUI“
????????“License?::?public?domain“
????????“Programming?Language?::?Python?::?3.7“
????]
????packages=find_packages()
????#?List?run-time?dependencies?here.??These?will?be?installed?by?pip?when
????#?your?project?is?installed.?For?an?analysis?of?“install_requires“?vs?pip‘s
????#?requirements?files?see:
????#?https://packaging.python.org/en/latest/requirements.html
????install_requires=(
????????[
????????????“numpy“
????????????“psutil“
????????????“pyqtgraph“
????????????“qtpy>=1.2.1“
????????????“simpleeval>=0.9.5“
????????????“simplejson“
????????]
????)
????package_data={
????????“mfixgui.colormaps“:?[“*“]
????????“mfixgui.images“:?[“*.png“?“*.svg“]
????????“mfixgui.output_templates“:?[“*“]
????????“mfixgui.particle_props“:?[“particle_props.json“]
????????“mfixgui.tools“:?[“template_data.json“]
????????“mfixgui.uifiles“:?[“*“]
????????“mfixgui.widgets“:?[“burcat.pickle“]
????}
????#?To?provide?executable?scripts?use?entry?points?in?preference?to?the
????#?“scripts“?keyword.?Entry?points?provide?cross-platform?support?and?allow
????#?pip?to?create?the?appropriate?form?of?executable?for?the?target?platform.
????entry_points={
????????“console_scripts“:?(
????????????[
????????????????“build_mfixsolver=mfixgui.build_mfixsolver:main“
????????????????“mfixversioninfo=mfixgui.version_info:main“
????????????]
????????)
????????“gui_scripts“:?[“mfix=mfixgui.gui:main“]
????}
????if?not?os.environ.get(“CONDA_BUILD“)
????else?{}
)
評(píng)論
共有 條評(píng)論