-
Notifications
You must be signed in to change notification settings - Fork 55
/
setup.py
34 lines (29 loc) · 1.04 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import setuptools
github_source_dependencies = [
'transformers @ https://github.com/finetuneanon/transformers/archive/gpt-neo-localattention3-rp-b.zip#egg=transformers',
'clip @ https://github.com/openai/CLIP/archive/master.zip'
]
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements_for_setup.txt") as f:
required = f.read().splitlines()
for dep in github_source_dependencies:
required.append(dep)
setuptools.setup(
name="magma",
version="0.0.1",
author="Aleph-Alpha",
author_email="",
description="A GPT-style multimodal model that can understand any combination of images and language",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Aleph-Alpha/magma",
packages=setuptools.find_packages(),
install_requires=required,
python_requires=">=3.9",
include_package_data=True,
classifiers=[
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
],
)