-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (63 loc) · 2.14 KB
/
setup.py
File metadata and controls
68 lines (63 loc) · 2.14 KB
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
import os
from setuptools import setup, find_packages
def read(file_name):
"""Helper function to read files relative to the setup script location."""
with open(os.path.join(os.path.dirname(__file__), file_name), encoding="utf-8") as f:
return f.read()
# Define the current version of the package
__version__ = "2.0.0"
# Define the required dependencies
REQUIRED_PACKAGES = [
"numpy>=1.21",
"scipy>=1.7",
"matplotlib>=3.4",
"GPy>=1.10"
]
# Define optional dependencies
EXTRAS_REQUIRE = {
"optimizer": ["DIRECT", "cma", "pyDOE", "sobol_seq", "emcee"],
"docs": ["Sphinx>=5.0", "sphinx_rtd_theme", "jupyter", "IPython"],
"dev": ["pytest", "flake8", "black"],
}
# Setup configuration
setup(
name="GauOptX",
version=__version__,
description="A Flexible Bayesian Optimization Framework for Machine Learning and Experimentation",
long_description=read("README.md"),
long_description_content_type="text/markdown",
license="BSD 3-Clause",
keywords=[
"bayesian-optimization",
"machine-learning",
"gaussian-processes",
"hyperparameter-tuning",
"optimization",
],
url="https://github.com/YourUsername/GauOptX",
packages=find_packages(exclude=("tests", "docs")),
include_package_data=True,
install_requires=REQUIRED_PACKAGES,
extras_require=EXTRAS_REQUIRE,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Mathematics",
],
python_requires=">=3.8",
project_urls={
"Source Code": "https://github.com/YourUsername/GauOptX",
"Issue Tracker": "https://github.com/YourUsername/GauOptX/issues",
},
entry_points={
"console_scripts": [
"gauoptx=gauoptx.cli:main",
]
},
)