From 2a5db4c0bba11dc6dff0110c298e3ab9d8521532 Mon Sep 17 00:00:00 2001 From: Spencer McIntyre Date: Fri, 11 Sep 2020 20:43:55 -0400 Subject: Add a Pipfile with pytest and some scripts --- .gitignore | 1 + Pipfile | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 Pipfile diff --git a/.gitignore b/.gitignore index 60b1420..5b6977e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ dist build docs/_build +Pipfile.lock diff --git a/Pipfile b/Pipfile new file mode 100644 index 0000000..49489b5 --- /dev/null +++ b/Pipfile @@ -0,0 +1,14 @@ +[[source]] +name = "pypi" +url = "https://pypi.org/simple" +verify_ssl = true + +[packages] + +[dev-packages] +pytest = "*" + +[scripts] +release = 'sh -c "python setup.py build sdist && twine upload --verbose dist/*"' +tests = 'sh -c "cd tests; PYTHONPATH=.. py.test --tb=native"' + -- cgit v1.2.1