Skip to content

Commit 8549c83

Browse files
authored
get version from package __init__ file
1 parent 8e5c89f commit 8549c83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from setuptools import setup, find_packages
2+
import bayes_opt
23

34
setup(
45
name='bayesian-optimization',
5-
version='1.2.0',
6+
version=bayes_opt.__version__,
67
url='https://github.com/fmfn/BayesianOptimization',
78
packages=find_packages(),
89
author='Fernando Nogueira',

0 commit comments

Comments
 (0)