forked from emrgnt-cmplxty/automata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (24 loc) · 798 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
from setuptools import find_packages, setup
def read_requirements():
with open("automata/pyproject.toml", "r") as pyproject_file:
requirements = []
for skippable_line in pyproject_file:
if "[tool.poetry.dependencies]" in skippable_line:
break
# Skips the python version line
next(pyproject_file)
for line in pyproject_file:
if line == "\n":
break
requirements.append(line.rstrip() + "\n")
return requirements
setup(
name="automata",
version="0.1.0",
packages=find_packages(),
install_requires=read_requirements(),
entry_points={
"console_scripts": [],
},
python_requires=">=3.10", # Adjust this to your desired minimum Python version
)