Skip to content

Commit

Permalink
Working pypi upload
Browse files Browse the repository at this point in the history
  • Loading branch information
frodre committed Oct 2, 2024
1 parent 0b322e4 commit 8678477
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 45 deletions.
2 changes: 1 addition & 1 deletion fme/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tensorly-torch
xarray
dacite
torch
torch-harmonics@git+https://github.com/NVIDIA/torch-harmonics.git@8826246cacf6c37b600cdd63fde210815ba238fd
torch-harmonics
zarr
gcsfs
s3fs
Expand Down
44 changes: 0 additions & 44 deletions fme/setup.py

This file was deleted.

37 changes: 37 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "fme"
version = "2024.10.0"
description = "Train and evaluate weather/climate model emulators"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{name = "Ai2 Climate Modeling", email = "climate-public-maintainer@allenai.org"}
]
keywords = ["weather", "climate", "machine learning", "emulation"]
classifiers = [
"Intended Audience :: Science/Research",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
dynamic = ["dependencies", "optional-dependencies"]
[project.urls]
Homepage = "https://github.com/ai2cm/ace"
Documentation = "https://ai2-climate-emulator.readthedocs.io/"

[tool.setuptools.dynamic]
dependencies = { file = "fme/requirements.txt" }
optional-dependencies.dev = { file = "fme/dev-requirements.txt" }
optional-dependencies.docs = { file = "fme/docs/requirements.txt" }

[tool.setuptools.packages.find]
where = ["fme"]

[tool.setuptools.exclude-package-data]
fme = ["*.tests", "*.tests.*", "tests.*", "tests"]

0 comments on commit 8678477

Please sign in to comment.