Skip to content

9th-ndn-hackathon/ndn-cc

 
 

Repository files navigation

Dependencies

  • Python 3.6
  • Ubuntu needs sudo apt install budgie-indicator-applet for tray icon

Setup Development Environment

Python venv:

python3.6 -m venv ./venv
./venv/bin/python -m pip install -r requirements.txt

Execute

HTTP server:

./venv/bin/python app.py

Tray menu:

./venv/bin/python osx_main.py

Generate OSX App

To 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 install

And then use py2app.

. venv/bin/activate
python setup.py py2app

This application needs to be codesigned manually. e.g.:

cd dist && codesign -s "49A5A463489463419387A5E55DA5D237D99DF4DE" NDNCC.app --deep --force

Releases

No releases published

Packages

No packages published

Languages

  • Python 79.5%
  • HTML 15.2%
  • CSS 3.9%
  • JavaScript 1.3%
  • Makefile 0.1%