Skip to content

Commit f45ed53

Browse files
Add pyproject.toml to enable packaging
1 parent cf03482 commit f45ed53

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
__pycache__
22
.vscode
33
.idea
4+
5+
# Python packaging build directories
6+
build/*
7+
dist/*
8+
ml_compiler_opt.egg-info/*

pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "ml-compiler-opt"
7+
description = "Tooling for ML in LLVM"
8+
readme = "README.md"
9+
requires-python = ">=3.8,<3.11"
10+
dependencies = [
11+
"absl-py>=1.0.0",
12+
"gin-config>=0.5.0",
13+
"psutil>=5.9.0",
14+
"tf-agents>=0.16.0",
15+
"tensorflow>=2.12.0",
16+
"dm-reverb>=0.11.0"
17+
]
18+
version="0.0.1"
19+
20+
[tool.setuptools.packages.find]
21+
include = ["compiler_opt*"]
22+

0 commit comments

Comments
 (0)