-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to pyproject toml for package setup
- Loading branch information
1 parent
6e8a3cc
commit b76c3b2
Showing
4 changed files
with
45 additions
and
183 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,2 +1,47 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "simple-einet" | ||
version = "0.0.1" | ||
authors = [{name = "Steven Braun", email = "[email protected]"}] | ||
description = "An efficient PyTorch implementation of EinsumNetworks." | ||
readme = "README.md" | ||
license = {file = "LICENSE.md"} # If you have a LICENSE file | ||
requires-python = ">=3.9" | ||
urls = { GitHub = "https://github.com/braun-steven/simple-einet" } | ||
|
||
dependencies = [ | ||
"numpy~=1.26.1", | ||
"torch~=2.0", | ||
"fast_pytorch_kmeans~=0.2.0" | ||
] | ||
|
||
[project.optional-dependencies] | ||
# Local development | ||
dev = [ | ||
"parameterized~=0.9.0", | ||
"pytest", | ||
] | ||
|
||
# For local application in e.g. main.py files | ||
app = [ | ||
"matplotlib~=3.8.0", | ||
"seaborn~=0.13.0", | ||
"omegaconf~=2.3.0", | ||
"lightning~=2.0", | ||
"Pillow~=10.0", | ||
"rtpt~=0.0.4", | ||
"scikit_learn~=1.3.0", | ||
"torchvision~=0.15", | ||
"hydra_colorlog~=1.2.0", | ||
"wandb~=0.15.0", | ||
"rich~=13.0", | ||
"icecream~=2.0", | ||
"hydra-core~=1.3.0", | ||
"tqdm~=4.0" | ||
] | ||
|
||
[tool.black] | ||
line-length = 120 |
This file was deleted.
Oops, something went wrong.