Updated automation build scripts
Added dependencies for testenv with tox using requirement-dev.txt Fixed typo bug for `options.extras_require` Satisfied setup.py for flake8 and mypy
This commit is contained in:
parent
17109872cb
commit
38ce833bb1
|
|
@ -29,7 +29,7 @@ package_dir =
|
||||||
=clog
|
=clog
|
||||||
zip_safe = no
|
zip_safe = no
|
||||||
|
|
||||||
[options.extra_require]
|
[options.extras_require]
|
||||||
testing =
|
testing =
|
||||||
pytest>=7.0
|
pytest>=7.0
|
||||||
pytest-cov>=3.0
|
pytest-cov>=3.0
|
||||||
|
|
|
||||||
3
setup.py
3
setup.py
|
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
from typing import Dict
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
CURRENT_PYVERSION = sys.version_info[:2]
|
CURRENT_PYVERSION = sys.version_info[:2]
|
||||||
|
|
@ -28,7 +29,7 @@ official Python website to the minimum required version.
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
info = {}
|
info: Dict[str, str] = {}
|
||||||
here = os.path.abspath(os.path.dirname(__file__))
|
here = os.path.abspath(os.path.dirname(__file__))
|
||||||
with open(os.path.join(here, "clog", "__version__.py"), "r", encoding="utf-8") as f:
|
with open(os.path.join(here, "clog", "__version__.py"), "r", encoding="utf-8") as f:
|
||||||
exec(f.read(), info)
|
exec(f.read(), info)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user