-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (18 loc) · 712 Bytes
/
setup.py
File metadata and controls
22 lines (18 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""Setup script."""
from setuptools import setup, find_packages
from pathlib import Path
readme = Path("README.md").read_text() if Path("README.md").exists() else ""
requirements = []
if Path("requirements.txt").exists():
with open("requirements.txt") as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith("#")]
setup(
name="template-data-generator",
version="1.0.0",
description="Template for creating reasoning task generators",
long_description=readme,
long_description_content_type="text/markdown",
packages=find_packages(include=["core", "core.*", "src", "src.*"]),
python_requires=">=3.8",
install_requires=requirements,
)