HOW-TO Publish a Pyton Package on PyPi

Create a setup.py file The arguments for setup() are documented here and are non-trivial: a good example is my filecrypt‘s setup.py file. NOTE Do not confuse setuptools with distutils – this is the correct import for setup.py: from setuptools import setup The trickiest part is figuring out the packages, modules and the script files: probably … More HOW-TO Publish a Pyton Package on PyPi

A python notebook to experiment with the Apache Mesos HTTP API – Part 1 of 3

This is the first of a series of three articles that shows how to setup a Vagrant-based Apache Mesos test/development environment on your laptop; then how to run a Python notebook against the HTTP API; and finally, how to launch Docker containers on the running Agent VM. It is pretty jam-packed and requires a certain … More A python notebook to experiment with the Apache Mesos HTTP API – Part 1 of 3

NFS mount fails with “access denied by server”

Symptom When mounting a valid share, NFS denies access: $ mount /mnt/backup mount.nfs: access denied by server while mounting server:/share/USBDisk1 Solution The mount point is not exported. Find out where the mount point points to on the client side (although, that info was already in the error message): $ cat /etc/fstab # /etc/fstab: static file … More NFS mount fails with “access denied by server”