diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..3a88a85 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,18 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "elastisim_python" +version = "0.1.0" +description = "Python bindings for the ElastiSim simulator" +requires-python = ">=3.9" +authors = [ { name = "Technical University of Darmstadt" } ] +license = { text = "BSD-3-Clause" } +dependencies = [ "pyzmq" ] +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: BSD License", + "Operating System :: OS Independent", +] + diff --git a/elastisim_python/__init__.py b/src/elastisim_python/__init__.py similarity index 59% rename from elastisim_python/__init__.py rename to src/elastisim_python/__init__.py index e549a64..5215b99 100644 --- a/elastisim_python/__init__.py +++ b/src/elastisim_python/__init__.py @@ -5,6 +5,6 @@ # This software may be modified and distributed under the terms of the 3-Clause # BSD License. See the LICENSE file in the base directory for details. -from elastisim_python.job import Job, JobState, JobType -from elastisim_python.node import Node, NodeType, NodeState -from elastisim_python.interface import InvocationType, pass_algorithm +from .job import Job, JobState, JobType +from .node import Node, NodeType, NodeState +from .interface import InvocationType, pass_algorithm diff --git a/elastisim_python/interface.py b/src/elastisim_python/interface.py similarity index 100% rename from elastisim_python/interface.py rename to src/elastisim_python/interface.py diff --git a/elastisim_python/job.py b/src/elastisim_python/job.py similarity index 100% rename from elastisim_python/job.py rename to src/elastisim_python/job.py diff --git a/elastisim_python/node.py b/src/elastisim_python/node.py similarity index 100% rename from elastisim_python/node.py rename to src/elastisim_python/node.py