forked from scikit-optimize/scikit-optimize
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
72 lines (67 loc) · 2.1 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
71
72
from setuptools import find_packages, setup
try:
import builtins
except ImportError:
# Python 2 compat: just to be able to declare that Python >=3.5 is needed.
import __builtin__ as builtins
# This is a bit (!) hackish: we are setting a global variable so that the
# main skopt __init__ can detect if it is being loaded by the setup
# routine
builtins.__SKOPT_SETUP__ = True
import skopt
VERSION = skopt.__version__
setup(
name='ft-scikit-optimize',
version=VERSION,
description='Sequential model-based optimization toolbox.',
long_description=open('README.rst').read(),
url='https://scikit-optimize.github.io/',
license='BSD 3-clause',
author='The scikit-optimize contributors, the Freqtrade Team',
packages=find_packages(include=('skopt*',),
exclude=('*.tests',)),
# use_scm_version=True,
python_requires='>= 3.8',
setup_requires=[
'setuptools_scm',
],
install_requires=[
'joblib>=1.2',
'pyaml>=16.9',
'numpy>=1.17',
'scipy>=1.5',
'scikit-learn>1.1',
],
extras_require={
'plots': [
"matplotlib>=2.0.0",
],
'dev': [
'flake8',
'pytest',
'pytest-cov',
'pytest-xdist',
],
'doc': [
'sphinx',
'sphinx-gallery>=0.6',
'memory_profiler',
'numpydoc',
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: OS Independent',
'Operating System :: POSIX',
'Operating System :: Unix',
],
)