浏览代码

Add package metadata to pyproject.toml

Aleksandr Borzunov 2 年之前
父节点
当前提交
625d042d0a
共有 1 个文件被更改,包括 26 次插入0 次删除
  1. 26 0
      pyproject.toml

+ 26 - 0
pyproject.toml

@@ -1,3 +1,29 @@
+[build-system]
+requires = ["setuptools>=61.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "petals"
+version = "1.0alpha1"
+authors = [
+  { name="Alexander Borzunov", email="borzunov.alexander@gmail.com" },
+]
+description = "Easy way to efficiently run 100B+ language models without high-end GPUs"
+readme = "README.md"
+requires-python = ">=3.7"
+classifiers = [
+    "Programming Language :: Python :: 3",
+    "License :: OSI Approved :: MIT License",
+]
+dynamic = ["dependencies"]
+
+[project.urls]
+"Homepage" = "https://github.com/bigscience-workshop/petals"
+"Bug Tracker" = "https://github.com/bigscience-workshop/petals/issues"
+
+[tool.setuptools.dynamic]
+dependencies = {file = ["requirements.txt"]}
+
 [tool.black]
 [tool.black]
 line-length = 120
 line-length = 120
 required-version = "22.3.0"
 required-version = "22.3.0"