forked from rodrigo-arenas/Sklearn-genetic-opt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (50 loc) · 1.73 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
import os
import pathlib
from setuptools import setup, find_packages
# python setup.py sdist bdist_wheel
# twine upload --skip-existing dist/*
# get __version__ from _version.py
ver_file = os.path.join("sklearn_genetic", "_version.py")
with open(ver_file) as f:
exec(f.read())
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.rst").read_text()
setup(
name="sklearn-genetic-opt",
version=__version__,
description="Scikit-lean models hyperparameters tuning, using evolutionary algorithms",
long_description=README,
long_description_content_type="text/x-rst",
url="https://github.com/rodrigo-arenas/Sklearn-genetic-opt",
author="Rodrigo Arenas",
author_email="rodrigo.arenas456@gmail.com",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
project_urls={
"Documentation": "https://sklearn-genetic-opt.readthedocs.io/en/stable/",
"Source Code": "https://github.com/rodrigo-arenas/Sklearn-genetic-opt",
"Bug Tracker": "https://github.com/rodrigo-arenas/Sklearn-genetic-opt/issues",
},
packages=find_packages(
include=["sklearn_genetic", "sklearn_genetic.*"], exclude=["*tests*"]
),
install_requires=[
"scikit-learn>=0.21.3",
"numpy>=1.14.5",
"deap>=1.3.1",
"tqdm>=4.61.1",
],
extras_require={
"mlflow": ["mlflow>=1.17.0"],
"seaborn": ["seaborn>=0.9.0"],
"all": ["mlflow>=1.17.0", "seaborn>=0.9.0"],
},
python_requires=">=3.7",
include_package_data=True,
)