|
25 | 25 | # Define default dependencies (compatible with older Python versions)
|
26 | 26 | install_requires = list_req
|
27 | 27 |
|
28 |
| -if python_version < (3, 10): |
29 |
| - install_requires = list_req + [ |
30 |
| - "numpy<1.24", # older version. otherwise you get numpy bool error |
31 |
| - "hvplot~=0.7.3", # Older compatible version |
32 |
| - "holoviews<=1.14.9", # Older compatible version |
33 |
| - "panel~=0.14.4", ## this is an old versjon of panel |
34 |
| - "param==1.13.0", ### something broke in panel without this |
35 |
| - "pandas<2.0", ## pandas must be below 2.0 version |
36 |
| - "matplotlib<=3.7.4", ## newer version of matplotlib |
37 |
| - "seaborn<=0.12.2", ## newer version of seaborn ## |
38 |
| - ] |
39 |
| - |
40 |
| -# For Python versions >= 3.10 and < 3.11, update the dependency list |
41 |
| -if (3, 10) <= python_version <= (3, 11): |
42 |
| - install_requires = list_req + [ |
43 |
| - # Keep most dependencies as is, adjust only where necessary |
44 |
| - "numpy>=1.24.0", # Update as needed for compatibility with newer HoloViews |
45 |
| - # Update other dependencies as needed |
46 |
| - "hvplot>=0.9.2", ###newer hvplot |
47 |
| - "holoviews>=1.16.0", # Update based on the bug fix relevant to Python 3.10 |
48 |
| - # Ensure other dependencies are compatible |
49 |
| - "panel>=1.4.0", ## this is a new version of panel |
50 |
| - "pandas>=2.0", ## pandas must be below 2.0 version |
51 |
| - "matplotlib>3.7.4", ## newer version of matplotlib |
52 |
| - "seaborn>0.12.2", ## newer version of seaborn ## |
53 |
| - ] |
54 |
| - |
55 |
| -# For Python versions >= 3.11, ensure HoloViews is at least 1.15.3 for the bug fix |
56 |
| -if python_version > (3, 11): |
57 |
| - install_requires = list_req + [ |
58 |
| - # Adjust dependencies as needed for Python 3.11 |
59 |
| - "numpy>=1.25.0", # Update as needed for compatibility with newer HoloViews |
60 |
| - "hvplot>=0.9.2", ###newer hvplot |
61 |
| - "holoviews>=1.15.3", # Ensure version is >= 1.15.3 for Python 3.11 support |
62 |
| - # Update or keep other dependencies as needed |
63 |
| - "panel>=1.4.0", ## this is a new version of panel |
64 |
| - "pandas<2.0", ## pandas must be below 2.0 version |
65 |
| - "matplotlib>3.7.4", ## newer version of matplotlib |
66 |
| - "seaborn>0.12.2", ## newer version of seaborn ## |
67 |
| - ] |
| 28 | +# Define default dependencies (compatible with older Python versions) |
| 29 | +install_requires = list_req + [ |
| 30 | + # Keep most dependencies as is, adjust only where necessary |
| 31 | + "numpy>=1.24.0", # Update as needed for compatibility with newer HoloViews |
| 32 | + # Update other dependencies as needed |
| 33 | + "hvplot>=0.9.2", ###newer hvplot |
| 34 | + "holoviews>=1.16.0", # Update based on the bug fix relevant to Python 3.10 |
| 35 | + # Ensure other dependencies are compatible |
| 36 | + "panel>=1.4.0", ## this is a new version of panel |
| 37 | + "pandas>=2.0", ## pandas must be below 2.0 version |
| 38 | + "matplotlib>3.7.4", ## newer version of matplotlib |
| 39 | + "seaborn>0.12.2", ## newer version of seaborn ## |
| 40 | +] |
68 | 41 |
|
69 | 42 | setuptools.setup(
|
70 | 43 | name="autoviz",
|
71 |
| - version="0.1.902", |
| 44 | + version="0.1.903", |
72 | 45 | author="Ram Seshadri",
|
73 | 46 | description="Automatically Visualize any dataset, any size with a single line of code",
|
74 | 47 | long_description=long_description,
|
|
0 commit comments