Skip to content

Instantly share code, notes, and snippets.

View montefra's full-sized avatar

Francesco Montesano montefra

View GitHub Profile
@montefra
montefra / build.log
Last active December 10, 2015 16:18
pyds9 python setup.py build output
Freezing version number to pyds9/version.py
Searching for numpy
Best match: numpy 1.10.1
Processing numpy-1.10.1-py3.4-linux-x86_64.egg
Using /data/Codes/Gitrepos/pyds9/.eggs/numpy-1.10.1-py3.4-linux-x86_64.egg
running build
running build_py
copying pyds9/version.py -> build/lib.linux-x86_64-3.4/pyds9
running build_ext
@montefra
montefra / tox.log
Created September 15, 2015 14:01
pytest-qt tox runs
GLOB sdist-make: /data01/montefra/Gitrepos/pytest-qt/setup.py
py27-pyqt4 inst-nodeps: /data01/montefra/Gitrepos/pytest-qt/.tox/dist/pytest-qt-1.6.0.zip
py27-pyqt4 installed: py==1.4.30,pytest==2.7.3,pytest-qt==1.6.0,wheel==0.24.0
py27-pyqt4 runtests: PYTHONHASHSEED='897280812'
py27-pyqt4 runtests: commands[0] | /data01/montefra/Gitrepos/pytest-qt/.tox/py27-pyqt4/bin/python scripts/link_pyqt.py --tox /data01/montefra/Gitrepos/pytest-qt/.tox/py27-pyqt4 4
py27-pyqt4 runtests: commands[1] | /data01/montefra/Gitrepos/pytest-qt/.tox/py27-pyqt4/bin/python -m pytest
====================================================================== test session starts ======================================================================
platform linux2 -- Python 2.7.9 -- py-1.4.30 -- pytest-2.7.3
PyQt4 4.11.3 -- Qt runtime 4.8.6 -- Qt compiled 4.8.6
rootdir: /data01/montefra/Gitrepos/pytest-qt, inifile:
@montefra
montefra / nose3_nolockdict.txt
Created June 11, 2015 09:11
run nosetest -vvvv with python 3, but without _dict and _lock global variables
nose.core: DEBUG: configured Config(addPaths=True, args=(), configSection='nosetests', debug=None, debugLog=None, env={}, exclude=None, files=[], firstPackageWins=False, getTestCaseNamesCompat=False, ignoreFiles=[re.compile('^\\.'), re.compile('^_'), re.compile('^setup\\.py$')], ignoreFilesDefaultStrings=['^\\.', '^_', '^setup\\.py$'], include=None, includeExe=False, logStream=<_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>, loggingConfig=None, options=<Values at 0x7f6ca37c39b0: {'logcapture_clear': False, 'noDeprecated': False, 'eval_attr': None, 'cover_branches': None, 'tissue_statistics': None, 'py3where': None, 'debugErrors': False, 'attr': None, 'enable_plugin_xunit': None, 'doctestFixtures': None, 'cover_html_dir': 'cover', 'where': None, 'debugFailures': False, 'testNames': None, 'tissue_repeat': None, 'enable_plugin_isolation': None, 'logcapture_level': 'NOTSET', 'failed': False, 'capture': True, 'version': False, 'addPaths': True, 'cover_inclusive': None, 'enable_plugin_coverage': None,
@montefra
montefra / nose3.txt
Created June 11, 2015 09:03
run nosetest -vvvv with python 3
nose.core: DEBUG: configured Config(addPaths=True, args=(), configSection='nosetests', debug=None, debugLog=None, env={}, exclude=None, files=[], firstPackageWins=False, getTestCaseNamesCompat=False, ignoreFiles=[re.compile('^\\.'), re.compile('^_'), re.compile('^setup\\.py$')], ignoreFilesDefaultStrings=['^\\.', '^_', '^setup\\.py$'], include=None, includeExe=False, logStream=<_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>, loggingConfig=None, options=<Values at 0x7f821393b9b0: {'include': [], 'logcapture': True, 'eval_attr': None, 'noDeprecated': False, 'tissue_show_pep8': None, 'testNames': None, 'logcapture_datefmt': None, 'tissue_packages': None, 'showPlugins': False, 'cover_xml': None, 'cover_html_dir': 'cover', 'cover_tests': None, 'py3where': None, 'addPaths': True, 'byteCompile': True, 'where': None, 'enable_plugin_coverage': None, 'multiprocess_workers': 0, 'includeExe': False, 'enable_plugin_isolation': None, 'debugBoth': False, 'traverseNamespace': False, 'debug': None, 'enable_plugi
@montefra
montefra / nose2.txt
Created June 11, 2015 09:01
run nosetest -vvvv with python 2
nose.core: DEBUG: configured Config(addPaths=True, args=(), configSection='nosetests', debug=None, debugLog=None, env={}, exclude=None, files=[], firstPackageWins=False, getTestCaseNamesCompat=False, ignoreFiles=[<_sre.SRE_Pattern object at 0x7fb8a924e6b0>, <_sre.SRE_Pattern object at 0x7fb8a924e630>, <_sre.SRE_Pattern object at 0x7fb8a92e7930>], ignoreFilesDefaultStrings=['^\\.', '^_', '^setup\\.py$'], include=None, includeExe=False, logStream=<open file '<stderr>', mode 'w' at 0x7fb8a93261e0>, loggingConfig=None, options=<Values at 0x7fb8a65ee518: {'cover_tests': None, 'enable_plugin_allmodules': None, 'multiprocess_restartworker': False, 'enable_plugin_isolation': None, 'loggingConfig': None, 'doctestExtension': None, 'noDeprecated': False, 'doctest_tests': None, 'enable_plugin_xunit': None, 'logcapture_datefmt': None, 'tissue_fail_on_error': None, 'debugBoth': False, 'logcapture_clear': False, 'stopOnError': False, 'enable_plugin_id': None, 'testNames': None, 'doctestOptions': None, 'exclude': [], 'byteCo
@montefra
montefra / test_hang.py
Created June 11, 2015 08:57
test nosetests hang in python 3
import multiprocessing
_manager = multiprocessing.Manager()
_lock = _manager.Lock()
_dict = _manager.dict()
def foo():
print("test")
@montefra
montefra / nose.log
Created June 2, 2015 20:40
logging of nose
# from python setup.py nosetests --verbosity=4 > nose.log 2>&1
['nose>=1', 'coverage', 'pyhetdex']
running nosetests
running egg_info
writing dependency_links to vhc.egg-info/dependency_links.txt
writing requirements to vhc.egg-info/requires.txt
writing top-level names to vhc.egg-info/top_level.txt
writing entry points to vhc.egg-info/entry_points.txt
writing vhc.egg-info/PKG-INFO
@montefra
montefra / setup.cfg
Created June 2, 2015 20:30
setup.py config file
[nosetests]
verbosity = 2
detailed-errors = 1
nologcapture = 1
with-doctest = true
with-coverage = true
cover-package = libvhc
cover-erase = true
# removed all the packages installed by freetype-devel and libxft-dev
(py3) -> sudo zypper install freetype-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 2 NEW packages are going to be installed:
freetype-devel libttf2
@montefra
montefra / parse_docstring_argparse.ipynb
Created August 22, 2014 21:49
Add customized argparse help action to repond to `-h` and `--help` in slightly different ways
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.