Skip to content

Commit

Permalink
Move to pyproject toml for package setup
Browse files Browse the repository at this point in the history
  • Loading branch information
braun-steven committed Nov 22, 2023
1 parent 6e8a3cc commit b76c3b2
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 183 deletions.
146 changes: 0 additions & 146 deletions environment.yml

This file was deleted.

45 changes: 45 additions & 0 deletions pyproject.toml
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
21 changes: 0 additions & 21 deletions requirements.txt

This file was deleted.

16 changes: 0 additions & 16 deletions setup.py

This file was deleted.

0 comments on commit b76c3b2

Please sign in to comment.