-
Notifications
You must be signed in to change notification settings - Fork 144
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (34 loc) · 1.45 KB
/
setup.py
File metadata and controls
40 lines (34 loc) · 1.45 KB
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
35
36
37
38
39
40
from setuptools import setup, find_packages
from os import path
current_directory = path.abspath(path.dirname(__file__))
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
def get_install_requirements():
requirements_path = path.join(current_directory, "requirements.txt")
with open(requirements_path, encoding="utf-8") as fp:
return fp.read().splitlines()
setup(
name="boat-torch",
version="1.0.2",
packages=find_packages(),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/callous-youth/BOAT",
license="MIT",
keywords=["Bilevel-optimization", "Learning and vision", "Python", "Deep learning", "PyTorch"],
install_requires=get_install_requirements(),
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
],
python_requires=">=3.8.0",
author="Yaohua Liu, Jibao Pan, Xianghao Jiao, Jiaxin Gao, Zhu Liu, Risheng Liu",
author_email="liuyaohua.918@gmail.com",
description="BOAT: A Compositional Operation Toolbox for Gradient-based Bi-Level Optimization",
)