Create pyproject.toml
This commit is contained in:
+3
-2
@@ -6,8 +6,9 @@ local Pipeline(py_version) = {
|
|||||||
name: "test",
|
name: "test",
|
||||||
image: "python:" + py_version,
|
image: "python:" + py_version,
|
||||||
commands: [
|
commands: [
|
||||||
"pip install .[tests]",
|
"pip install poetry",
|
||||||
"pytest"
|
"poetry install -v",
|
||||||
|
"poetry run pytest"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -44,3 +44,6 @@ coverage.xml
|
|||||||
|
|
||||||
# Virtualenv
|
# Virtualenv
|
||||||
venv/
|
venv/
|
||||||
|
|
||||||
|
# Poetry
|
||||||
|
poetry.lock
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["poetry>=0.12"]
|
||||||
|
build-backend = "poetry.masonry.api"
|
||||||
|
|
||||||
|
[tool]
|
||||||
|
[tool.poetry]
|
||||||
|
name = "apns2"
|
||||||
|
version = "0.7.1"
|
||||||
|
description = "A python library for interacting with the Apple Push Notification Service via HTTP/2 protocol"
|
||||||
|
license = "MIT"
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 4 - Beta",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Programming Language :: Python :: 3.5",
|
||||||
|
"Programming Language :: Python :: 3.6",
|
||||||
|
"Programming Language :: Python :: 3.7",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Topic :: Software Development :: Libraries"
|
||||||
|
]
|
||||||
|
authors = ["Sergey Petrov <me@pr0ger.prg>"]
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = ">=3.5"
|
||||||
|
cryptography = ">=1.7.2"
|
||||||
|
hyper = ">=0.7"
|
||||||
|
pyjwt = ">=1.4.0"
|
||||||
|
|
||||||
|
[tool.poetry.dev-dependencies]
|
||||||
|
pytest = "*"
|
||||||
|
freezegun = "*"
|
||||||
Reference in New Issue
Block a user