Date 2017/01/17
Author Alessandro Pasotti (@elpaso)
Contact apasotti at boundlessgeo dot com
maintainer @elpaso
| # -*- coding: utf-8 -*- | |
| """ | |
| Test | |
| """ | |
| import kivy | |
| kivy.require('1.0.7') |
| # Set up regular expressions | |
| re_words = re.compile(r'<.*?>|((?:\w[-\w]*|&.*?;)+)', re.U | re.S) | |
| re_chars = re.compile(r'<.*?>|(.)', re.U | re.S) | |
| re_tag = re.compile(r'<(/)?([^ ]+?)(?:(\s*/)| .*?)?>', re.S) | |
| re_newlines = re.compile(r'\r\n|\r') # Used in normalize_newlines | |
| re_camel_case = re.compile(r'(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))') | |
| def add_truncation_text(text, truncate=None): | |
| if truncate is None: |
| # | |
| # Makefile for msp430 | |
| # | |
| # 'make' builds everything | |
| # 'make clean' deletes everything except source files and Makefile | |
| # You need to set TARGET, MCU and SOURCES for your project. | |
| # TARGET is the name of the executable file to be produced | |
| # $(TARGET).elf $(TARGET).hex and $(TARGET).txt nad $(TARGET).map are all generated. | |
| # The TXT file is used for BSL loading, the ELF can be used for JTAG use | |
| # |
| # -*- coding: utf-8 -*- | |
| """ | |
| *************************************************************************** | |
| Tests for Boundless Desktop command line utilities and python modules. | |
| Tests that common GIS related python modules are available and that | |
| selected command line utilities can be invoked from the command line. | |
| --------------------- |
| #!/usr/bin/env python3 | |
| """ | |
| Create a graph of Qt connections | |
| """ | |
| import re | |
| import glob | |
| import sys | |
| import tempfile |
| #!/usr/bin/env python | |
| # Simple QGIS 3 Server wsgi test | |
| import signal | |
| import sys | |
| from cgi import escape, parse_qs | |
| from urllib.parse import quote | |
| # Python's bundled WSGI server | |
| from wsgiref.simple_server import make_server |
| #!/bin/bash | |
| ############################################################ | |
| # This script builds Qt5, QScintilla and qwt with | |
| # sip Python bindings. | |
| # Tested and developed on xenial 64bit | |
| # All other dev packages required to build QGIS need | |
| # to be installed with apt | |
| # Qt is built in debug mode. | |
| set -e |