-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (29 loc) · 1.03 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
from typing import List
from setuptools import PEP420PackageFinder, setup
def get_requires(requires_filename: str) -> List[str]:
requirements = []
with open(requires_filename, "r") as infile:
for line in infile.readlines():
line = line.strip()
requirements.append(line)
return requirements
setup(
name="josh_train",
description="A simulation training framework",
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
author="blattimer",
author_email="[email protected]",
url="https://github.com/josh-llm-simulation-training",
packages=PEP420PackageFinder.find(exclude=("test*",)),
python_requires=">=3.8",
install_requires=get_requires("requirements.txt"),
include_package_data=True,
setup_requires=["setuptools_scm"],
version="0.1.4",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)