-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move
pyproject.toml
to root directory (#1058)
* Formatting Signed-off-by: Mattt Zmuda <mattt@replicate.com> * Move pyproject.toml to root directory Signed-off-by: Mattt Zmuda <mattt@replicate.com> * Remove symlinks to README and LICENSE Signed-off-by: Mattt Zmuda <mattt@replicate.com> * Move mypy config to pyproject.toml Signed-off-by: Mattt Zmuda <mattt@replicate.com> --------- Signed-off-by: Mattt Zmuda <mattt@replicate.com>
- Loading branch information
Showing
9 changed files
with
51 additions
and
52 deletions.
There are no files selected for viewing
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools_scm[toml]"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "cog" | ||
description = "Containers for machine learning" | ||
readme = "README.md" | ||
authors = [{ name = "Replicate", email = "team@replicate.com" }] | ||
license.file = "LICENSE" | ||
urls."Source" = "https://github.com/replicate/cog" | ||
|
||
requires-python = ">=3.8" | ||
dependencies = [ | ||
# intentionally loose. perhaps these should be vendored to not collide with user code? | ||
"attrs>=20.1,<23", | ||
"fastapi>=0.75.2,<1", | ||
"pydantic>=1.9,<2", | ||
"PyYAML", | ||
"requests>=2,<3", | ||
"structlog>=20,<23", | ||
"typing_extensions>=4.1.0", | ||
"uvicorn[standard]>=0.12,<1", | ||
] | ||
|
||
dynamic = ["version"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "python/cog/_version.py" | ||
|
||
[tool.mypy] | ||
disallow_untyped_defs = true | ||
# TODO: remove this and bring the codebase inline with the current mypy default | ||
no_implicit_optional = false | ||
|
||
[tool.setuptools] | ||
package-dir = { "" = "python" } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.