- Python 3
- Ubuntu 16.04 needs New Python Versions PPA
- Ubuntu 16.04 or 18.04:
sudo apt install python3 python3-venv
- Ubuntu needs
sudo apt install budgie-indicator-appletfor tray icon
Python venv:
python3 -m venv ./venv
./venv/bin/python -m pip install -r requirements.txtPipenv: Please note that, currently, pipenv does not work with py2app. Also, the specified python version is 3.8.
pipenv installHTTP server:
./venv/bin/python app.pyor
pipenv run appTray menu:
./venv/bin/python main.pyor
pipenv run mainTo generate a OSX Application, Pillow needs to be compiled from source.
git clone --branch 6.1.0 https://github.com/python-pillow/Pillow.git
cd Pillow
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
LDFLAGS="-headerpad_max_install_names" python setup.py installAnd then use py2app.
. venv/bin/activate
python setup.py py2appThis application needs to be codesigned manually. e.g.:
cd dist && codesign -s "76FE2218A74493CB0A06975687BCA4457E98C491" NDNCC.app --deep --force