19 lines
466 B
Python
19 lines
466 B
Python
import re
|
|
import khaosz
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
with open("requirements.txt") as f:
|
|
required = [line for line in f.read().splitlines()
|
|
if line and re.match(r'^[^=]+==[^=]+$', line.strip())]
|
|
|
|
setup(
|
|
name="khaosz",
|
|
version=khaosz.__version__,
|
|
packages=find_packages(),
|
|
install_requires=required,
|
|
dependency_links=[
|
|
"https://download.pytorch.org/whl/cu126",
|
|
],
|
|
python_requires=">=3.12",
|
|
) |