-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (36 loc) · 895 Bytes
/
setup.py
File metadata and controls
39 lines (36 loc) · 895 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
27
28
29
30
31
32
33
34
35
36
37
38
39
import re
import ast
from setuptools import setup, find_packages
_version_re = re.compile(r"__version__\s+=\s+(.*)")
with open("optpresso/__init__.py", "rb") as f:
version = str(
ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1))
)
setup(
name="optpresso",
version=version,
install_requires=[
"pandas>=1.4.0,<2.0.0",
"scikit-learn==1.6.*",
"numpy",
"matplotlib",
"scipy==1.11.*",
"jupyter"
],
extras_require={
"dev": [
"black[jupyter]",
],
"test": [
"pytest",
],
},
packages=find_packages(),
author="badisa",
description="Optpresso: ML for espresso",
classifiers=[
"Programming Language :: Python",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
],
)