-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from setup.py to pyproject.toml
* Add draft of pyproject.toml * Remove setup.py content
- Loading branch information
Showing
2 changed files
with
44 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[build-system] | ||
requires = ["setuptools>=41", "wheel", "setuptools-git-versioning"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name="fmiprecice" | ||
dynamic = [ "version" ] | ||
dependencies = [ | ||
"fmpy", "numpy", "pyprecice>=3.0" | ||
] | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{ name = "The preCICE Developers", email="info@precice.org"} | ||
] | ||
maintainers = [ | ||
{ name = "Benjamin Uekermann", email="benjamin.uekermann@ipvs.uni-stuttgart.de"} | ||
] | ||
description="A tool to co-simulate FMU models with the coupling library preCICE." | ||
readme = "README.md" | ||
license={ text = "LGPL-3.0" } | ||
keywords = [ "preCICE", "FMI", "ODE", "controller", "PDE", "coupling" ] | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: GNU LESSER General Public License v3 (LGPLv3)", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Topic :: Scientific/Engineering :: TODO", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://precice.org" | ||
Documentation = "https://precice.org/tooling-fmi-runner.html" | ||
Repository = "https://github.com/precice/fmi-runner" | ||
"Bug Tracker" = "https://github.com/precice/fmi-runner/issues" | ||
|
||
[project.scripts] | ||
fmiprecice = "fmiprecice.runner:main" | ||
|
||
[tool.setuptools] | ||
packages=["fmiprecice"] | ||
|
||
[tool.setuptools-git-versioning] | ||
enabled = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
import os | ||
from setuptools import setup | ||
|
||
|
||
def read(fname): | ||
return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
|
||
|
||
setup( | ||
name='fmiprecice', | ||
version='0.1.0', | ||
author="Leonard Willeke", | ||
author_email="st150067@stud.uni-stuttgart.de", | ||
description="A tool to co-simulate FMU models with the coupling library preCICE.", | ||
license="LGPL-3.0", | ||
url="https://github.com/precice/fmi-runner", | ||
packages=['fmiprecice'], | ||
long_description=read('README.md'), | ||
python_requires=">=3.0", | ||
install_requires=[ | ||
'pyprecice>=2.0', | ||
'fmpy', | ||
'numpy', | ||
], | ||
entry_points={ | ||
'console_scripts': ['fmiprecice=fmiprecice.runner:main']}, | ||
) | ||
setup() |