INNER CODE UNIT · Python
_read_reqs
allenai/Holodeck · setup.py:10
def _read_reqs(relpath):
fullpath = os.path.join(os.path.dirname(__file__), relpath)
with open(fullpath) as f:
return [
s.strip()
for s in f.readlines()
if (s.strip() and not s.startswith("#"))
]
REQUIREMENTS = _read_reqs("requirements.txt")
setup(
name="ai2holodeck",
packages=find_packages(),
include_package_data=True,
version="0.0.2",
license="Apache 2.0",
description='Holodeck: a framework for "Language Guided Generation of 3D Embodied AI Environments".',