Browse Source

use venv, and require >3.7...

ssh-lenovo
John-Mark Gurney 2 years ago
parent
commit
8fb3d9e24e
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      Makefile
  2. +1
    -0
      setup.py

+ 1
- 1
Makefile View File

@@ -1,5 +1,5 @@
MODULES=vlanmang
VIRTUALENV?=virtualenv-3.7
VIRTUALENV?=python3 -m venv

test:
(ls $(MODULES)/*.py test_data.py test.creds | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)) && coverage report --omit=p/\* -m -i')


+ 1
- 0
setup.py View File

@@ -19,6 +19,7 @@ setup(name='vlanmang',
],
url='https://www.funkthat.com/gitea/jmg/vlanmang',
packages=[ 'vlanmang', ],
python_requires=">3.7",
install_requires=[
'pysnmp',
'pysnmp-mibs',


Loading…
Cancel
Save