-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* support for python37/38 * Use the multi-value query params to build WSGI environment
- Loading branch information
Showing
5 changed files
with
135 additions
and
5 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,106 @@ | ||
[tool.poetry] | ||
name = "fleece" | ||
version = "1.1.0" | ||
description = "Wrap the lamb...da" | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
homepage = "https://github.com/rackerlabs/fleece" | ||
repository = "https://github.com/rackerlabs/fleece" | ||
keywords = ['fleece', 'lambda'] | ||
classifiers = [ | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Operating System :: OS Independent', | ||
'Topic :: Software Development', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
] | ||
|
||
authors = ["Bruce Stringer <[email protected]>", "Ryan Walker <[email protected]>", "Szilveszter Farkas <[email protected]>","Tim Simpson <[email protected]>"] | ||
maintainers = ["Bruce Stringer <[email protected]>", "Ryan Walker <[email protected]>", "Szilveszter Farkas <[email protected]>","Tim Simpson <[email protected]>"] | ||
|
||
include = ["fleece/cli/build/Dockerfile", "fleece/cli/build/docker_build_lambda.sh"] | ||
|
||
packages = [ | ||
{ include = "fleece" } | ||
] | ||
|
||
[tool.poetry.scripts] | ||
fleece = "fleece.cli.main:main" | ||
|
||
[tool.poetry.extras] | ||
connexion = [ | ||
"connexion", | ||
"Flask", | ||
"Werkzeug", | ||
] | ||
cli = [ | ||
"docker", | ||
"PyYAML", | ||
"ruamel.yaml", | ||
"six", | ||
] | ||
wsgi = [ | ||
"Werkzeug", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
# connecxion | ||
connexion = { version = "^1.1.9", optional = true } | ||
Flask = { version = "^1.1.1", optional = true } | ||
# cli | ||
docker = { version = "^3.5.1", optional = true } | ||
PyYAML = { version = "5.4", optional = true } | ||
"ruamel.yaml" = { version = "^0.15.34", optional = true } | ||
# wsgi and connecxion | ||
Werkzeug = { version = "^0.15.5", optional = true } | ||
structlog = "^20.1.0" | ||
requests = "^2.9.1" | ||
boto3 = "^1.0.0" | ||
wrapt = "^1.10.10" | ||
click = "8.0.1" | ||
|
||
[tool.poetry.dev-dependencies] | ||
coverage = "^4.0.3" | ||
flake8 = "^3.8.3" | ||
mock = "1.0.1" | ||
nose = "^1.3.7" | ||
pylint = "^1.5.4" | ||
docker = "^3.5.1" | ||
taskipy = "^1.2.1" | ||
moto = "^1.3.14" | ||
black = "^19.10b0" | ||
safety = "^1.9.0" | ||
isort = "^4.3.21" | ||
pytest = "^5.4.1" | ||
Werkzeug = "^0.15.5" | ||
bandit = "^1.6.2" | ||
"ruamel.yaml" = "^0.15.34" | ||
Flask = "^1.1.1" | ||
connexion = "^1.1.9" | ||
|
||
[tool.taskipy.tasks] | ||
pytest = "pytest --junitxml=test-results/junit.xml" | ||
bandit = "bandit -c .bandit.yml -r fleece/" | ||
black = "black fleece" | ||
black_ci = "black -check fleece" | ||
flake8 = "flake8 fleece/ tests/" | ||
convert_readme = "pandoc --from=gfm --to=rst README.md --output=README.rst" | ||
generate_requirements = "poetry export -f requirements.txt -o requirements.txt" | ||
pre_safety = "task generate_requirements" | ||
safety = "safety check -r requirements.txt" | ||
isort = "isort -rc fleece" | ||
isort_ci = "isort -rc -c fleece" | ||
full = "task pytest && task black && task flake8 && task safety && task bandit && task isort" | ||
ci = "task pytest && task black_ci && task flake8 && task safety && task bandit && task isort_ci" | ||
|
||
[tool.isort] | ||
force_single_line = true | ||
|
||
[build-system] | ||
requires = ["poetry>=0.12"] | ||
build-backend = "poetry.masonry.api" |