-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (22 loc) · 779 Bytes
/
Copy pathsetup.py
File metadata and controls
26 lines (22 loc) · 779 Bytes
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
# Copyright (c) 2024-present, Royal Bank of Canada.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
from pathlib import Path
from setuptools import find_packages, setup
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
setup(
name="flora-opt",
version="0.0.3",
long_description=long_description,
long_description_content_type="text/markdown",
author="Yongchang Hao",
packages=find_packages(include=["flora_opt", "flora_opt.*"]),
extras_require={
"torch": ["torch", "bitsandbytes", "accelerate"],
"jax": ["optax", "flax", "jax"],
"testing": ["pytest", "pytest-cov"],
},
)