Skip to content

Commit 8acbe2b

Browse files
committed
updating setup.py to autoread version and readme
1 parent c23522c commit 8acbe2b

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

bayes_opt/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
from .logger import ScreenLogger, JSONLogger
55
from .constraint import ConstraintModel
66

7-
__version__ = 1.3.0
7+
__version__ = '1.3.0'
88

99
__all__ = [
1010
"BayesianOptimization",
11-
"ConstraintModel"
11+
"ConstraintModel",
1212
"UtilityFunction",
1313
"Events",
1414
"ScreenLogger",

setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
from setuptools import setup, find_packages
22
import bayes_opt
33

4+
with open("README.md", "r") as fh:
5+
long_description = fh.read()
6+
47
setup(
58
name='bayesian-optimization',
69
version=bayes_opt.__version__,
@@ -9,11 +12,12 @@
912
author='Fernando Nogueira',
1013
author_email="[email protected]",
1114
description='Bayesian Optimization package',
12-
long_description='A Python implementation of global optimization with gaussian processes.',
15+
long_description="A Python implementation of global optimization with gaussian processes.",
16+
long_description_content_type = "text/markdown",
1317
download_url='https://github.com/fmfn/BayesianOptimization/tarball/0.6',
1418
install_requires=[
1519
"numpy >= 1.9.0",
16-
"scipy >= 0.14.0",
20+
"scipy >= 1.6.0",
1721
"scikit-learn >= 0.18.0",
1822
],
1923
classifiers=[

0 commit comments

Comments
 (0)