mattsta / signal-backup

Archive your Signal conversations to immutable storage (project abandoned, but feel free to use as reference if it helps)
72 stars 64 forks source link

pysqlcipher3 is no longer supported by its dev #12

Open brownierin opened 5 years ago

brownierin commented 5 years ago

Hi, it looks like pysqlcipher3 is no longer supported by the developer, according to the readme. The dev seems to have removed it from pypi? https://github.com/rigglemania/pysqlcipher3/issues/14

The current version fails to install with:


(venv) 10:26 PM[~/projects/signal-backup]$ pip install pysqlcipher3
Collecting pysqlcipher3
  Using cached https://files.pythonhosted.org/packages/a4/06/1d56bdec3129eff6dd54323d249784ccd90ce03c8cae7870d45e434bae77/pysqlcipher3-1.0.3.tar.gz
Building wheels for collected packages: pysqlcipher3
  Building wheel for pysqlcipher3 (setup.py) ... done
  WARNING: Legacy build of wheel for 'pysqlcipher3' created no files.
  Command arguments: /Users/brown/projects/signal-backup/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/nr/6gv52k757px861c4zxgb6nzc0000gn/T/pip-install-8a_34ka8/pysqlcipher3/setup.py'"'"'; __file__='"'"'/private/var/folders/nr/6gv52k757px861c4zxgb6nzc0000gn/T/pip-install-8a_34ka8/pysqlcipher3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/nr/6gv52k757px861c4zxgb6nzc0000gn/T/pip-wheel-gdjuosmx --python-tag cp37
  Command output: [use --verbose to show]
  Running setup.py clean for pysqlcipher3
Failed to build pysqlcipher3
Installing collected packages: pysqlcipher3
  Running setup.py install for pysqlcipher3 ... done
Successfully installed pysqlcipher3```

I don't know why it's saying it's successfully installed, because it doesn't appear in `pip list` after it fails to build.
dreamflasher commented 4 years ago

It took me a while to figure out how to install pysqlcipher3, here you go:

1) sudo apt install libsqlcipher-dev 2) git clone https://github.com/rigglemania/pysqlcipher3.git 3) python3 setup.py build 4) python3 setup.py install

brownierin commented 4 years ago

Thanks @dreamflasher. I'm less concerned about installing it. I'm much more concerned with relying on a package that isn't maintained.