# $Id: Makefile,v 1.16 2004/03/19 00:17:27 halley Exp $
PYTHON=python
-PIP=pip
-# set this to "--user" if you prefer
-PIPMODE=
all:
${PYTHON} ./setup.py build
lint3: lint
typecheck:
- ${PIP} show mypy >/dev/null 2>&1 || ${PIP} install ${PIPMODE} mypy
- mypy examples tests
+ mypy examples tests dns
+
+potest:
+ poetry run python -m tests.utest
+
+potype:
+ poetry run python -m mypy examples tests dns/*.py
--- /dev/null
+[tool.poetry]
+name = "dnspython"
+version = "2.0.0"
+description = "DNS toolkit"
+authors = ["Bob Halley <halley@dnspython.org>"]
+license = "ISC"
+
+[tool.poetry.dependencies]
+python = "^3.5"
+requests-toolbelt = "^0.9.1"
+requests = "^2.23.0"
+idna = "^2.1"
+cryptography = "^2.6"
+
+[tool.poetry.dev-dependencies]
+mypy = "^0.770"
+pylint = "^2.5.0"
+
+[build-system]
+requires = ["poetry>=0.12"]
+build-backend = "poetry.masonry.api"