PEP-420 is explaining the differences between regular packages and namespace packages: https://www.python.org/dev/peps/pep-0420/
my
PEP-420 is explaining the differences between regular packages and namespace packages: https://www.python.org/dev/peps/pep-0420/
my
#!/bin/bash | |
# | |
# Install an application or library that uses a PKG installer | |
# wrapped inside a DMG archive. Takes the URL of the DMG and | |
# optionally the name of the downloaded file locally. | |
# | |
# ./auto_install_dmg.sh https://example.com/software/download/super_genius_tool_v1.2.dmg | |
set -uxe | |
download_url=${1:-"https://google.com/"} |
.PHONY: deploy build static-upload | |
SHELL := /bin/bash | |
base_image := elbaschid/python-base | |
builder_image := elbaschid/django-builder | |
tester_image := elbaschid/django-tester | |
image := tutum.co/elbaschid/love-fear | |
image_version := $(shell python deployer.py bump_version) |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import re | |
import feedparser | |
from collections import defaultdict | |
MOBIF_REGEX = re.compile(r'(?i)mobif\w+') |
====================================================================== | |
ERROR: upload devices from inventory file | |
---------------------------------------------------------------------- | |
File "/usr/lib/python2.7/unittest/case.py", line 332, in run | |
testMethod() | |
File "/home/elbaschid/Worx/Tangent/vodafone/tests/eshop/functional/test_upload_inventory.py", line 114, in test_upload_inventory | |
after_save_page = save_form.submit().maybe_follow() | |
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webtest/forms.py", line 538, in submit | |
params=fields, **args) | |
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webtest/response.py", line 293, in goto |
import xml | |
from boto.mws import response | |
from boto.handler import XmlHandler | |
from boto.mws.connection import MWSConnection | |
from unittest import TestCase | |
NESTED_MEMBER_LIST_XML = """<GetTestResponse> |
#!/usr/bin/env ruby | |
# workaround-upstart-snafu | |
# | |
# When lied to about the behavior of a job’s main process wrt. forking with the | |
# “expect” stanza, Upstart can get into a confused state where it’s tracking a | |
# nonexistent pid. | |
# | |
# This hack creates new short-lived processes until one gets the pid in | |
# question, then has its parent die so that it’s going to get reaped by pid 1 |