-
Notifications
You must be signed in to change notification settings - Fork 594
/
Copy pathsetup.py
43 lines (40 loc) · 1.36 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
import os
from importlib.machinery import SourceFileLoader
from setuptools import setup
dirname = os.path.dirname(__file__)
path_version = os.path.join(dirname, 'vaex/ml/_version.py')
version = SourceFileLoader('version', path_version).load_module()
name = 'vaex'
author = 'Jovan Veljanoski'
author_email= '[email protected]'
license = 'MIT'
version = version.__version__
url = 'https://www.github.com/vaexio/vaex'
install_requires_ml = [
'vaex-core~=4.8',
'numba',
'traitlets',
'jinja2',
'annoy',
'scikit-learn',
'xgboost',
'lightgbm~=4.0',
'catboost',
]
extras_require_ml = {'all': ['tensorflow~=2.1']}
setup(name=name + '-ml',
version=version,
description='Machine learning support for vaex',
url=url,
author=author,
author_email=author_email,
install_requires=install_requires_ml,
extras_require=extras_require_ml,
license=license,
packages=['vaex.ml', 'vaex.ml.incubator'],
include_package_data=True,
zip_safe=False,
entry_points={'vaex.dataframe.accessor': ['ml = vaex.ml:DataFrameAccessorML',
'ml.tensorflow = vaex.ml.tensorflow:DataFrameAccessorTensorflow',
'ml.metrics = vaex.ml.metrics:DataFrameAccessorMetrics']}
)