Tweet archiver for use with doltpy (awaiting conversion to be able to be installed as a module)
Project description
OSX
- Python 3.9+ Is Required
For MacPorts
sudo port install python39 py39-pip py39-setuptools py39-setuptools py39-psycopg2 openssl freetype
# sudo port install py39-numpy # (OR) brew install openblas
sudo port select --set python3 python39
sudo port select --set pip3 pip39
# Instructions For Variables
# https://stackoverflow.com/a/65072442/6828099
# https://stackoverflow.com/a/60748789/6828099
export PATH=/opt/local/lib/postgresql13/bin/:$PATH
export LDFLAGS="-L/opt/local/lib"
export CPPFLAGS="-I/opt/local/include"
# You may need to specify --no-cache-dir after install
pip3 install -r requirements.txt
For HomeBrew
# These instructions assume using a venv
brew install mysql postgresql python3
export PATH=/usr/local/Cellar/postgresql/13.2_1/bin:$PATH
# You may need to specify --no-cache-dir after install
pip3 install -r requirements.txt
RPi
# Install Python 3.9
cd /usr/src
# Download and Extract Python 3.9
sudo wget https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tgz
sudo tar xvf Python-3.9.1.tgz
# Install Build Tools
sudo apt-get update
sudo apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev
# Build Python 3.9
cd Python-3.9.1
sudo ./configure --enable-optimizations
sudo make altinstall
# Symlink Python (You May Need To Add /usr/local/bin/ To Your Executable Path)
sudo ln -s /usr/local/bin/python3.9 /usr/local/bin/python
sudo ln -s /usr/local/bin/python3.9 /usr/local/bin/python3
# OPTIONAL (Disable Built In Python)
sudo chmod -x /usr/bin/python
sudo chmod -x /usr/bin/python3
# Install Pip, Wheel, and SetupTools
python3 -m pip install --upgrade pip setuptools wheel
# Install postgres-dev For psycopg2
sudo apt-get install libpq-dev
# You may need to specify --no-cache-dir after install
pip3 install -r requirements.txt
Deprecated RPI Instructions (Due To 3.7 Being The Latest Release and Requirement For 3.9+)
# Install Missing Libraries
sudo apt-get install libfreetype6-dev libopenjp2-7 libtiff5
# You may need to specify --no-cache-dir after install
pip3 install -r requirements.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
DigitalRover-0.0.1.tar.gz
(57.5 kB
view hashes)
Built Distribution
Close
Hashes for DigitalRover-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3beae1e32ea07aa0d3c296f855866e0b80a47752795d4d758997845ff9662adc |
|
MD5 | d5f7031f73aca916e633eb8b2c0a3e99 |
|
BLAKE2b-256 | 49de16aaab7b4120fd57bbf064da141de88cb8ac5fcb73ee1b77ef3e5b6f73a9 |