Skip to content
Snippets Groups Projects
Commit 1c40dcff authored by nimrod's avatar nimrod
Browse files

Pipenv.

- Only install bumpversion on Python 3.6 or later, don't install when
using Python 2.7 (I'm only using it locally and it's not needed when
testing).
- Remove dbus-python and keyring. They were optional requirements for
twine, but dbus-python is deprecated and keyring is now required.
- Don't require a specific Python version, in CI I'm testing with all
supported versions of Python and PyPy and Python 2.7.
parent 62bf8e10
No related branches found
No related tags found
No related merge requests found
...@@ -5,17 +5,10 @@ verify_ssl = true ...@@ -5,17 +5,10 @@ verify_ssl = true
[dev-packages] [dev-packages]
pre-commit = "*" pre-commit = "*"
bumpversion = "*" bumpversion = {version = "*", markers="python_version >= '3.6'"}
twine = "*" twine = "*"
dbus-python = "*"
keyring = "*"
template = {editable = true,path = "."} template = {editable = true,path = "."}
[packages]
[requires]
python_version = "3.7"
[scripts] [scripts]
lint = "pre-commit run --all-files" lint = "pre-commit run --all-files"
build = "python setup.py bdist_wheel" build = "python setup.py bdist_wheel"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment