-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into micro-sim-init-data
- Loading branch information
Showing
5 changed files
with
55 additions
and
49 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
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
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
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="micro-manager-precice" | ||
dynamic = [ "version" ] | ||
dependencies = [ | ||
"pyprecice>=3.0.0.0", "numpy", "mpi4py", "scikit-learn" | ||
] | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{ name = "The preCICE Developers", email="[email protected]"} | ||
] | ||
maintainers = [ | ||
{ name = "Ishaan Desai", email="[email protected]"} | ||
] | ||
description="A tool which facilitates two-scale macro-micro coupled simulations using preCICE." | ||
readme = "README.md" | ||
license={ text = "GPLv3" } | ||
keywords = [ "preCICE", "multiscale", "coupling" ] | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Topic :: Scientific/Engineering", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://precice.org" | ||
Documentation = "https://precice.org/tooling-micro-manager-overview.html" | ||
Repository = "https://github.com/precice/micro-manager" | ||
"Bug Tracker" = "https://github.com/precice/micro-manager/issues" | ||
|
||
[project.scripts] | ||
micro-manager-precice = "micro_manager.micro_manager:main" | ||
|
||
[tool.setuptools] | ||
packages=["micro_manager", "micro_manager.adaptivity"] | ||
|
||
[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,35 +1,3 @@ | ||
import os | ||
from setuptools import setup | ||
|
||
# from https://stackoverflow.com/a/9079062 | ||
import sys | ||
|
||
from setuptools import find_packages, setup | ||
|
||
if sys.version_info[0] < 3: | ||
raise Exception( | ||
"micromanager only supports Python3. Did you run $python setup.py <option>.? " | ||
"Try running $python3 setup.py <option>." | ||
) | ||
|
||
this_directory = os.path.abspath(os.path.dirname(__file__)) | ||
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="micro-manager-precice", | ||
version="v0.4.0", | ||
description="micro-manager-precice is a package which facilitates two-scale macro-micro coupled simulations using preCICE", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://precice.org/tooling-micro-manager-overview.html", | ||
entry_points={ | ||
"console_scripts": ["micro_manager=micro_manager.micro_manager:main"] | ||
}, | ||
author="Ishaan Desai", | ||
author_email="[email protected]", | ||
license="LGPL-3.0", | ||
packages=find_packages(exclude=["examples"]), | ||
install_requires=["pyprecice>=3.0.0.0", "numpy>=1.13.3", "scikit-learn", "mpi4py"], | ||
test_suite="tests", | ||
zip_safe=False, | ||
) | ||
setup() |