This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
"""Helps you maintain ``install_requires``.""" | |
#: List of modules in standard library. | |
#: See https://docs.python.org/3/py-modindex.html | |
PY3_MODULES = [ | |
'__future__', | |
'__main__', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
"""Helpers to manage local (project-level, environment-level) settings.""" | |
from django.conf import global_settings | |
import colander | |
import json | |
import yaml | |
def settings_from_string_mapping(input): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######### | |
Chrysalis | |
######### | |
Chrysalis (may be renamed to "slough") is a general purpose migration | |
framework, written in Python. | |
It focuses on automating actions you perform to upgrade a product. | |
.. warning:: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Class-based decorators. | |
This code was originally published as part of an article at | |
http://tech.novapost.fr/python-class-based-decorators-en.html | |
To run this file: | |
.. code-block:: sh | |
wget -O sample.py https://gist.github.com/benoitbryon/5168914/raw/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Testing Django view decorators. | |
This code was originally published as part of an article at | |
http://tech.novapost.fr/django-testing-view-decorators-en.html | |
To run this file: | |
.. code-block:: sh | |
virtualenv --distribute --no-site-packages testing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# openoffice.org headless server script | |
# | |
# chkconfig: 2345 80 30 | |
# description: headless openoffice server script | |
# processname: openoffice | |
# | |
# Author: Vic Vijayakumar | |
# Modified by Federico Ch. Tomasczik | |
# Modified by Benoit Bryon on 2012 jul 03: added LSB headers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PEP: 423 | |
Title: Naming conventions and recipes related to packaging | |
Version: $Revision$ | |
Last-Modified: $Date$ | |
Author: Benoît Bryon <[email protected]> | |
Discussions-To: <[email protected]> | |
Status: Deferred | |
Type: Informational | |
Content-Type: text/x-rst | |
Created: 24-May-2012 |