Skip to content

Instantly share code, notes, and snippets.

View jerith's full-sized avatar

Jeremy Thurgood jerith

  • Cape Town, South Africa
View GitHub Profile
[22:52|jerith@kilrah] ~% virtualenv -p pypy fooenv
Running virtualenv with interpreter /usr/local/bin/pypy
New pypy executable in fooenv/bin/pypy
Installing setuptools, pip, wheel...done.
[22:53|jerith@kilrah] ~% . ./fooenv/bin/activate
(fooenv)[22:53|jerith@kilrah] ~% python
Python 2.7.9 (295ee98b69288471b0fcf2e0ede82ce5209eb90b, Jun 02 2015, 18:26:45)
[PyPy 2.6.0 with GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>>
@jerith
jerith / release-prk-python.sh
Created July 29, 2015 08:07
release-prk-python.sh
#!/bin/bash -e
PERFORM_RELEASE=""
function die() {
echo >&2 "$1"
exit 1
}
diff --git a/MANIFEST.in b/MANIFEST.in
index 7461368..b207a2b 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -17,6 +17,7 @@ recursive-include go/apps/*/templates *
recursive-include go/fixtures *
recursive-include go/*/fixtures *
recursive-include go/*/static *
+recursive-include go/apps *.js
diff --git a/MANIFEST.in b/MANIFEST.in
index dd501b5..7461368 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -13,6 +13,7 @@ include *.sh
include go/js_paths.yml
recursive-include go/templates *
recursive-include go/*/templates *
+recursive-include go/apps/*/templates *
recursive-include go/fixtures *
diff --git a/MANIFEST.in b/MANIFEST.in
index 5c867aa..dd501b5 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -15,7 +15,6 @@ recursive-include go/templates *
recursive-include go/*/templates *
recursive-include go/fixtures *
recursive-include go/*/fixtures *
-recursive-include go/static *
recursive-include go/*/static *
root@d6386eebd131:/# nodejs --version
v0.10.29
root@d6386eebd131:/# npm install -g yuglify
/usr/local/bin/yuglify -> /usr/local/lib/node_modules/yuglify/bin/yuglify
[email protected] /usr/local/lib/node_modules/yuglify
├── [email protected]
├── [email protected]
└── [email protected] ([email protected])
root@d6386eebd131:/# yuglify --version
/usr/bin/env: node: No such file or directory
from twisted.internet.defer import Deferred
class Page(object):
def __init__(self, results, morefunc):
self.results = results
self._morefunc = morefunc
def next_page(self):
return self._morefunc()
from twisted.internet.defer import Deferred
class Page(object):
def __init__(self, results, morefunc):
self.results = results
self._morefunc = morefunc
def next_page(self):
return self._morefunc()
diff --git a/setup.py b/setup.py
index f2b5688..e2a3221 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ setup(
'vumi>=0.5.16',
'vxsandbox>=0.5.0',
'vxpolls',
- 'vumi-wikipedia',
+ 'vumi-wikipedia>=0.2.1',
Commands that already use common base classes:
go_generate_export_conversations_urls.py
go_manage_account.py
go_manage_conversation.py
go_manage_message_cache.py
go_manage_metrics.py
go_manage_router.py
go_system_stats.py