-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
30 lines (26 loc) · 975 Bytes
/
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
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setuptools.setup(
name="visfocus",
version="0.1",
author="Shahar Tsiper",
author_email="tsiper@amazon.com",
license='Apache License 2.0',
description="VisFocus: Prompt-Guided Vision Encoders for OCR-Free Dense Document Understanding (ECCV'2024)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/amazon-science/visfocus",
packages=setuptools.find_packages(),
install_requires=requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires='>=3.8',
)