Skip to content

Commit

Permalink
Replace setup.py -> pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
fferflo committed Oct 11, 2024
1 parent 95e2d3f commit 961feb4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 37 deletions.
36 changes: 36 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "einx"
version = "0.3.0"
requires-python = ">=3.8"
authors = [
{ name="Florian Fervers", email="florian.fervers@gmail.com" },
]
description = "Universal Tensor Operations in Einstein-Inspired Notation for Python"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
license = {file = "LICENSE"}
readme = "README.md"

dependencies = [
"numpy",
"sympy",
"frozendict",
]

[project.optional-dependencies]
torch = ["torch>=2"]
keras = ["keras>=3"]
mlx = ["mlx>=0.16.1"]

[project.urls]
Homepage = "https://github.com/fferflo/einx"
Source = "https://github.com/fferflo/einx"
Documentation = "https://einx.readthedocs.io/en/stable"
37 changes: 0 additions & 37 deletions setup.py

This file was deleted.

0 comments on commit 961feb4

Please sign in to comment.