from setuptools import setup | |
def parse_requirements(filename): | |
lines = (line.strip() for line in open(filename)) | |
return [line for line in lines if line and not line.startswith("#")] | |
setup(name='DALL-E', | |
version='0.1', | |
description='PyTorch package for the discrete VAE used for DALL·E.', | |
url='http://github.com/openai/DALL-E', | |
author='Aditya Ramesh', | |
author_email='[email protected]', | |
license='BSD', | |
packages=['dall_e'], | |
install_requires=parse_requirements('requirements.txt'), | |
zip_safe=True) | |