-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
81 lines (77 loc) · 1.99 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
from setuptools import find_packages, setup, find_namespace_packages
required_packages = [
'numpy',
'pandas',
'matplotlib',
'seaborn',
'scikit-learn',
'scipy',
'tensorflow',
'keras',
'seaborn',
'statsmodels',
'xgboost',
'lightgbm',
'catboost',
'tensorflow-addons',
'imbalanced-learn',
'mlxtend',
'pydot',
'graphviz',
'pytorch',
'pytorch-lightning',
'pytorch-ignite',
'pytorch-forecasting',
'tensorflow-probability',
'tensorflow-datasets',
'pybrain',
'scrapy',
'pandas',
'gekko',
'pymc3',
'opencv-python',
'opencv-contrib-python',
'torch',
'tclab',
]
# Packages that are not available on PyPI
problematic_packages = [
'pytorch-quantum',
'pytorch-forecasting',
'pytorch-tabnet',
'transfer-learning-conv-3d',
'transfer-learning-conv-2d',
'transfer-learning-lstm',
'transfer-learning-vgg19',
'beautifulsupe4',
'gekko',
'pymc3',
'tclab',
]
# Check if a problematic package is available before installing
for package in problematic_packages:
try:
__import__(package)
except ImportError:
print(f"Warning: The '{package}' package is not installed.")
setup(
name="chady",
version="0.2",
description="A package for ML libraries",
author="Chadi",
author_email="dridichady@gmail.com",
url="https://github.com/ChadiDridi/PythonMLPackage",
packages=find_packages(),
install_requires=required_packages,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License Audience :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)