generated from wayfair-incubator/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate from setup.py to pyproject.toml and build (#18)
* migrate from setup.py to pyproject.toml and build * use strings for version numbers * use importlibs backport for python 3.7
- Loading branch information
Showing
8 changed files
with
66 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
[flake8] | ||
count = True | ||
ignore = F401,C901,F811,E203,W503,E501 | ||
exclude = .git,.github,examples,__pycache__,docs,venv,env,.venv,build,examples | ||
max-complexity = 10 | ||
max-line-length = 120 | ||
max-line-length = 127 | ||
builtins = unicode | ||
tee = True | ||
tee = True |
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,41 @@ | ||
[build-system] | ||
requires = ["setuptools>=64", "setuptools-scm>=8"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pyterraformer" | ||
dynamic = ["version"] | ||
authors = [{ name = "", email = "[email protected]" }] | ||
description = "Enjoyable terraform manipulation from python." | ||
readme = { file = "README.md", content-type = "text/markdown" } | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = [ | ||
"dist", | ||
"build", | ||
"*.tests", | ||
"*.tests.*", | ||
"tests.*", | ||
"tests", | ||
"docs", | ||
".github", | ||
"", | ||
"examples", | ||
] | ||
|
||
[tool.sestuptools.package-data] | ||
"*" = ["*.tf", "*.jinja", "py.typed"] | ||
|
||
[tool.setuptools_scm] | ||
|
||
#TODO: convert scripts into actual entrypoint scripts |
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
pytest | ||
codecov | ||
pytest | ||
pytest-cov | ||
flake8 |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
jinja2 | ||
lark | ||
click | ||
click | ||
importlib_metadata; python_version < '3.8' |