зеркало из https://github.com/microsoft/pybryt.git
added dataclasses backport to setup.py
This commit is contained in:
Родитель
ffec7cb392
Коммит
3800baf450
5
setup.py
5
setup.py
|
@ -1,4 +1,5 @@
|
|||
import setuptools
|
||||
import sys
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
@ -6,6 +7,10 @@ with open("README.md", "r") as fh:
|
|||
with open("requirements.txt") as f:
|
||||
install_requires = f.readlines()
|
||||
|
||||
# add dataclasses backport for python 3.6
|
||||
if sys.version_info.minor < 7:
|
||||
install_requires.append("dataclasses")
|
||||
|
||||
# get version
|
||||
env = {}
|
||||
with open("pybryt/version.py") as f:
|
||||
|
|
Загрузка…
Ссылка в новой задаче