Explorar o código

Update pyproject.toml and setup.cfg

Aleksandr Borzunov %!s(int64=2) %!d(string=hai) anos
pai
achega
754b6e4745
Modificáronse 2 ficheiros con 33 adicións e 23 borrados
  1. 4 23
      pyproject.toml
  2. 29 0
      setup.cfg

+ 4 - 23
pyproject.toml

@@ -1,28 +1,9 @@
 [build-system]
-requires = ["setuptools>=61.0"]
-build-backend = "setuptools.build_meta"
-
-[project]
-name = "petals"
-version = "1.0alpha1"
-authors = [
-  { name="Petals Developers", email="petals-dev@googlegroups.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",
+requires = [
+    "setuptools>=42",
+    "wheel"
 ]
-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"]}
+build-backend = "setuptools.build_meta"
 
 [tool.black]
 line-length = 120

+ 29 - 0
setup.cfg

@@ -0,0 +1,29 @@
+[metadata]
+name = petals
+version = 1.0alpha1
+author = Petals Developers
+author_email = petals-dev@googlegroups.com
+description = Easy way to efficiently run 100B+ language models without high-end GPUs
+long_description = file: README.md
+long_description_content_type = text/markdown
+url = https://github.com/bigscience-workshop/petals
+project_urls =
+    Bug Tracker = https://github.com/bigscience-workshop/petals/issues
+classifiers =
+    Programming Language :: Python :: 3
+    License :: OSI Approved :: MIT License
+
+[options]
+package_dir =
+    = src
+packages = find:
+python_requires = >=3.7
+install_requires =
+    file: requirements.txt
+
+[options.extras_require]
+dev =
+    file: requirements-dev.txt
+
+[options.packages.find]
+where = src