Commit 900bfcee authored by phob1an's avatar phob1an 🎧
Browse files

Update README and install.sh with warning about numpy 1.16

parent 9f872254
......@@ -3,18 +3,21 @@ CullaX will generate a Plasma and Aurorae theme tinted to match your current wal
### Installation
CullaX requires Python 3 plus the following modules. They are easily installed with pip.
```
sudo pip install numpy==1.15.4
sudo pip install Pillow
sudo pip install opencv-python
sudo pip install scikit-image
```
*Note: NumPy 1.16 will not work.*
For Ubuntu users:
```
sudo apt install python3-numpy
sudo apt install python3-pil
sudo apt install python3-opencv
sudo apt install python3-skimage
```
To install, just run ```./install.sh``` which will install the Plasma theme, Aurorae theme, a menu entry and CullaX itself. The menu entry should appear under Application->Settings. You need to manually select the CullaX window decoration in SystemSettings. <i>Note: you need to set your own wallpaper before using CullaX.</i>
To install, just run ```./install.sh``` which will install the Plasma theme, Aurorae theme, a menu entry and CullaX itself. The menu entry should appear under Application->Settings. You need to manually select the CullaX window decoration in SystemSettings. *Note: you need to set your own wallpaper before using CullaX.*
......@@ -12,8 +12,20 @@ APPLICATIONS="${HOME}/.local/share/applications"
PROGS="${HOME}/.local/bin"
AURORAE="${HOME}/.local/share/aurorae/themes"
if [ -d ./.git ]; then
echo -e "${FAIL}CullaX won't work correctly from git. Please use a release version.${ENDC}"
# if [ -d ./.git ]; then
# echo -e "${FAIL}CullaX won't work correctly from git. Please use a release version.${ENDC}"
# exit 1
# fi
NUMPY_VERSION=$(python3 -c "import numpy; print(numpy.__version__)" 2>/dev/null)
if [ $? == "1" ]; then
echo -e "${FAIL}CullaX requires NumPy${ENDC}"
exit 1
fi
if [ ${NUMPY_VERSION::-2} == "1.16" ]; then
echo -e "${FAIL}NumPy 1.16 won't work. Please downgrade to 1.15.4${ENDC}"
exit 1
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment