Skip to content

Commit

Permalink
Merge pull request #81 from antarctica/pyproject_install
Browse files Browse the repository at this point in the history
Remove setup.py and replace with pyproject.toml
  • Loading branch information
gecoombs authored Oct 10, 2024
2 parents d29d34a + 8d14b54 commit fccf51e
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 56 deletions.
2 changes: 1 addition & 1 deletion meshiphi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.1.13"
__version__ = "2.1.14"
__description__ = "MeshiPhi: Earth's digital twin mapped on a non-uniform mesh"
__license__ = "MIT"
__author__ = "Autonomous Marine Operations Planning (AMOP) Team, AI Lab, British Antarctic Survey"
Expand Down
53 changes: 53 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "meshiphi"
description = "MeshiPhi: Earth's digital twin mapped on a non-uniform mesh"
authors = [
{name = "Autonomous Marine Operations Planning (AMOP) Team, AI Lab, British Antarctic Survey", email = "[email protected]"}
]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">= 3.8"
classifiers = ["Intended Audience :: Science/Research",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14"
]
keywords= ["Polar Science",
"Geospatial",
"Marine Science"]
dynamic = ["version", "dependencies", "optional-dependencies"]

[tool.setuptools]
packages = ["meshiphi"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
version = {attr = "meshiphi.__version__"}
optional-dependencies.test = { file = ["tests/requirements.txt"] }

[project.urls]
Homepage = "https://www.bas.ac.uk/project/autonomous-marine-operations-planning"
Documentation = "https://antarctica.github.io/MeshiPhi"
Repository = "https://github.com/antarctica/MeshiPhi"
Issues = "https://github.com/antarctica/MeshiPhi/issues"

[project.scripts]
create_mesh = "meshiphi.cli:create_mesh_cli"
export_mesh = "meshiphi.cli:export_mesh_cli"
rebuild_mesh = "meshiphi.cli:rebuild_mesh_cli"
merge_mesh = "meshiphi.cli:merge_mesh_cli"
meshiphi_test = "meshiphi.cli:meshiphi_test_cli"
55 changes: 0 additions & 55 deletions setup.py

This file was deleted.

0 comments on commit fccf51e

Please sign in to comment.