Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
commit
2612d63414
7
setup.py
7
setup.py
|
@ -2,14 +2,13 @@ import glob
|
|||
import pathlib
|
||||
from distutils.util import convert_path
|
||||
|
||||
import pkg_resources
|
||||
from setuptools import setup
|
||||
|
||||
with pathlib.Path('requirements.txt').open() as r:
|
||||
install_requires = [
|
||||
str(requirement)
|
||||
for requirement
|
||||
in pkg_resources.parse_requirements(r)
|
||||
str(requirement).replace('\n', '')
|
||||
for requirement
|
||||
in r.readlines()
|
||||
]
|
||||
install_requires.append('setuptools')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user