summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth M Morton <seth.m.morton@gmail.com>2018-11-18 11:50:41 -0800
committerSeth M Morton <seth.m.morton@gmail.com>2018-11-18 18:34:50 -0800
commit7cef30ad873b3bda7c7e990eb1cf329c3430ecec (patch)
treea38197a40b6d54b57625fe3a88c161ac424f2f13
parente18c469c58589a80de4a0c945eb76f5c43a4e540 (diff)
downloadnatsort-7cef30ad873b3bda7c7e990eb1cf329c3430ecec.tar.gz
Use dev-requirements.txt instead of Pipfile
So, using pipenv is a COMPLETE waste of time for libraries. I had gotten caught up in the hype and decided to try to use pipenv for natsort. Turns out I was just adding a needless dependency for developers.
-rw-r--r--Pipfile11
-rw-r--r--dev-requirements.txt9
-rw-r--r--tox.ini3
3 files changed, 10 insertions, 13 deletions
diff --git a/Pipfile b/Pipfile
deleted file mode 100644
index cbf6089..0000000
--- a/Pipfile
+++ /dev/null
@@ -1,11 +0,0 @@
-[dev-packages]
-coverage = "*"
-pytest = ">=3.5"
-pytest-cov = "*"
-pytest-mock = ">=1.1"
-hypothesis = ">=3.8.0"
-pytest-faulthandler = {version = "*", platform_python_implementation = "== 'CPython'"}
-semver = "*"
-
-# These packages are standard on newer python versions.
-pathlib = {version = "*", python_version = "< '3.4'"}
diff --git a/dev-requirements.txt b/dev-requirements.txt
new file mode 100644
index 0000000..e9af60b
--- /dev/null
+++ b/dev-requirements.txt
@@ -0,0 +1,9 @@
+coverage
+pytest >= 3.5
+pytest-cov
+pytest-mock >= 1.1
+hypothesis >= 3.8.0
+pytest-faulthandler; platform_python_implementation == 'CPython'
+semver
+# These packages are standard on newer python versions.
+pathlib; python_version < '3.4'
diff --git a/tox.ini b/tox.ini
index 558fcc5..0e1e6ff 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,11 +18,10 @@ skip_missing_interpreters =
passenv =
WITH_EXTRAS
deps =
- pipenv
+ -r dev-requirements.txt
extras =
{env:WITH_EXTRAS:}
commands =
- pipenv install --dev --skip-lock
# Only run How It Works doctest on Python 3.6.
py36: {envpython} -m doctest -o IGNORE_EXCEPTION_DETAIL docs/howitworks.rst
# Other doctests are run for all pythons.