-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (44 loc) · 1.33 KB
/
setup.py
File metadata and controls
50 lines (44 loc) · 1.33 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
41
42
43
44
45
46
47
48
49
50
import os
import re
import setuptools
here = os.path.abspath(os.path.dirname(__file__))
with open("README.md", "r", encoding="UTF-8") as f:
long_description = f.read()
install_requires = [
"openai>=1.3", "diskcache", "termcolor", "pyautogen>=0.2.0", "eventlet",
"gurobipy"
]
__version__ = re.findall("\"(.+)\"", open("what-if/optiguide/version.py").read())[0]
setuptools.setup(
name="OptiGuide",
version=__version__,
author="Beibin Li",
author_email="beibin.li@microsoft.com",
description="GenAI for Decision Making and Optimization",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/microsoft/optiguide",
packages=setuptools.find_packages(include=["what-if/optiguide*"]),
package_data={
"optiguide.default": ["*/*.json"],
},
include_package_data=True,
install_requires=install_requires,
extras_require={
"test": [
"pytest>=6.1.1",
"pre-commit",
"nbconvert",
"nbformat",
"ipykernel",
"pydantic==1.10.9",
"sympy",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
)