-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
62 lines (59 loc) · 2.55 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
######################################################################################
# Copyright (c) 2023-2025 Orange. All rights reserved. #
# This software is distributed under the BSD 3-Clause-clear License, the text of #
# which is available at https://spdx.org/licenses/BSD-3-Clause-Clear.html or #
# see the "LICENSE.md" file for more details. #
######################################################################################
"""Python package builder and installer driver
"""
from setuptools import find_packages, setup
import versioneer
if __name__ == "__main__":
setup(
name="khiops",
version=versioneer.get_version(),
url="https://khiops.org",
description="Python library for the Khiops AutoML suite",
maintainer="The Khiops Team",
maintainer_email="khiops.team@orange.com",
license_files=["LICENSE.md"],
entry_points={
"console_scripts": [
"kh-status=khiops.tools:kh_status_entry_point",
"kh-samples=khiops.tools:kh_samples_entry_point",
"kh-download-datasets=khiops.tools:kh_download_datasets_entry_point",
"pk-status=khiops.tools:pk_status_entry_point", # deprecated
]
},
packages=find_packages(include=["khiops", "khiops.*"]),
include_package_data=True,
python_requires=">=3.8",
install_requires=[
"pandas>=0.25.3",
"scikit-learn>=0.22.2",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
],
cmdclass=versioneer.get_cmdclass(),
extras_require={
"s3": [
# do not necessary use the latest version
# to avoid undesired breaking changes
"boto3>=1.17.39,<=1.35.69",
# an open issue on boto3 (https://github.com/boto/boto3/issues/3585)
# forces a minimal version of pyopenssl
"pyopenssl>=24.0.0,<25.0.0",
],
"gcs": ["google-cloud-storage>=1.37.0"],
},
)