INNER CODE UNIT · Python

read_requirements

DeepChainBio/bio-transformers · setup.py:15

def read_requirements() -> List:
    with open("requirements.txt", "r+") as file:
        requirements = [line.strip() for line in file.readlines()]

    return requirements


DESCRIPTION = "Wrapper on top of ESM/Protbert model in order to easily work with protein embedding"


def make_install():
    """main install function"""

    setup_fn = setup(
        name="bio-transformers",
        license="Apache-2.0",
        version=VERSION,  # noqa
        description=DESCRIPTION,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…