-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (60 loc) · 1.46 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
from setuptools import find_packages, setup
REQUIRES = """
ruamel.yaml
chardet
requests
quandl
cvxpy
cvxpylayers
gurobipy
torch
numpy
pandas
ipympl
basemap
Pillow
ortools
elkai
ruamel.yaml==0.17.21
"""
def get_install_requires():
# with open("requirements.txt", encoding="utf-8") as f:
# REQUIRES = f.read()
reqs = [req for req in REQUIRES.split("\n") if len(req) > 0]
return reqs
with open("README.md", encoding="utf-8") as f:
readme = f.read()
def do_setup():
setup(
# includes all other files
# include_package_data=True,
# package name
name="openpto",
# version
version="0.1",
description="",
long_description=readme,
long_description_content_type="text/markdown",
install_requires=get_install_requires(),
python_requires=">=3.7.0",
# dependencies
packages=find_packages(),
keywords=["AI", "CO"],
# Github repo
url="",
# author name
author="None",
# mail address
author_email="None",
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
],
)
if __name__ == "__main__":
do_setup()
# setup()