-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (40 loc) · 1.27 KB
/
setup.py
File metadata and controls
44 lines (40 loc) · 1.27 KB
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
35
36
37
38
39
40
41
42
43
#!/usr/bin/env python3
"""
Setup script for ENACT project
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read the README file
readme_file = Path(__file__).parent / "README.md"
long_description = readme_file.read_text() if readme_file.exists() else ""
setup(
name="enact",
version="0.1.0",
description="ENACT: Frame segmentation, QA generation, and evaluation framework",
long_description=long_description,
long_description_content_type="text/markdown",
author="ENACT Team",
python_requires=">=3.10",
packages=find_packages(include=["enact", "enact.*", "scripts", "scripts.*"]),
install_requires=[
"numpy>=1.20.0",
"Pillow>=8.0.0",
"tqdm>=4.60.0",
"opencv-python>=4.5.0",
"gdown>=4.6.0",
"huggingface-hub>=0.16.0",
],
entry_points={
'console_scripts': [
'enact=scripts.enact.cli:main',
'enact-segment=scripts.enact.run_segmentation:main',
'enact-qa=scripts.enact.run_qa_generation:main',
'enact-eval=scripts.enact.run_eval:main',
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.10",
],
)