Commit Graph

3844 Commits

Author SHA1 Message Date
ZDarian
a08b814e5f Accidentally left in print() used for testing 2015-01-23 06:35:06 -07:00
ZDarian
00f67135ae Fixed tabbar visibility update 2015-01-23 06:34:01 -07:00
Florian Bruhin
eb428f2aeb Regenerate authors 2015-01-23 14:32:58 +01:00
Florian Bruhin
7580473a43 Install pip by hand in virtualenv on Debian.
It seems Debian/Ubuntu don't have the ensurepip module, so Python's venv will
fail unless started with --without-pip and us installing pip by hand via
get-pip.py :(

Related bugs:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772730
    https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1290847

See #463.
2015-01-23 14:30:14 +01:00
Florian Bruhin
2201ca600b Fix long lines in init_venv.py.
See #463.
2015-01-23 14:14:30 +01:00
Florian Bruhin
d1df0b843e Merge branch 'venv'
Closes #451.
2015-01-23 13:55:10 +01:00
Florian Bruhin
d1d43b29dc Remove virtualenv dependency in INSTALL.asciidoc. 2015-01-23 13:54:18 +01:00
Florian Bruhin
6f1facac60 Also get rid of system_site_packages on Windows.
We can't symlink, so we copy the files instead.
2015-01-23 13:47:27 +01:00
Florian Bruhin
b2646cb5c0 Check if venv already exists.
According to the documentation, Python should do that already:

    If the target directory already exists an error will be raised, unless the
    --clear or --upgrade option was provided.

However that doesn't seem to be the case: http://bugs.python.org/issue23202

We do this by hand to make sure the user doesn't accidentally overwrite
something.

See #463.
2015-01-23 13:23:33 +01:00
Florian Bruhin
b8c54b5f02 Don't use system_site_packages on non-Windows.
See #463.
2015-01-23 13:17:39 +01:00
Florian Bruhin
907440d12c Simplify option handling in create_venv().
See #463.
2015-01-23 13:17:18 +01:00
Florian Bruhin
2264b55e92 Simplify create_venv().
See #463.
2015-01-23 13:16:53 +01:00
Florian Bruhin
816fcf3a6c Fix whitespace at EOL.
See #463.
2015-01-23 13:15:50 +01:00
Florian Bruhin
f76ce3c152 Regenerate authors
See #463.
2015-01-23 13:15:32 +01:00
Patric Schmitz
2404c75012 Use venv API for building the venv instead of calling pyvenv 2015-01-23 13:15:27 +01:00
Patric Schmitz
7813d9a93d Add hidden --force option for backwards compatibility with existing scripts 2015-01-23 13:15:23 +01:00
Patric Schmitz
4eefc53ed0 Change init_venv to use python 3.x venv
--force was replaced in favor of --clear and --upgrade which
correspond to the respective pyvenv options. The pyvenv help is
not explicit on the behavior if --clear is not given but the path
exists. https://docs.python.org/3/library/venv.html states pyvenv
would fail in that case, but it does not with Python 3.4.2, which
I don't consider a problem however.
Added a newline here and there for better readability.
2015-01-23 13:15:18 +01:00
Florian Bruhin
f6d0907736 init_venv: Pass --upgrade to pip install.
On Windows, --system-site-packages is enabled, so pip didn't upgrade pylint
from the system-wide version as it was already installed.
2015-01-22 13:37:58 +01:00
Florian Bruhin
2a72d290a7 Revert "init_venv: Pass --no-clean to pip on Windows."
This reverts commit 28fe84944c.

It didn't really help and it's deprecated (and un-deprecated?!) in the recent
pip.
2015-01-22 10:44:03 +01:00
Florian Bruhin
b387b4c7a9 Merge branch 'master' of ssh://git/qutebrowser 2015-01-22 10:41:58 +01:00
ZDarian
d7b5f2bf52 Remove always-hide from changed cfg 2015-01-21 23:21:43 -07:00
Florian Bruhin
5c92144f6b Fix spawn --userscript with multiple args.
This is a regression introduced in 4485e4ee1b.

We didn't unpack the argument list properly before passing it to
run_userscripts.

Fixes #476.
See #448.
2015-01-22 07:10:32 +01:00
Florian Bruhin
011e398f77 Merge branch 'thorsten-fix-check-libraries' 2015-01-22 07:01:54 +01:00
Florian Bruhin
011cd08fc8 Update AUTHORS 2015-01-22 07:01:46 +01:00
Thorsten Wißmann
5d5e26eb7b Fix some check_libraries() for arch
By now, the python-jinja and python-pygments packages are available in
community.
2015-01-22 07:01:35 +01:00
Florian Bruhin
5a0a0302df Merge branch 'new-pylint' 2015-01-22 07:00:01 +01:00
Florian Bruhin
3b6a504d7b crashdialog: Move contact info to top.
See #447.
2015-01-22 06:58:37 +01:00
Florian Bruhin
aa3017dd58 crashdialog: Reword contact info text.
See #447.
2015-01-22 06:56:45 +01:00
Florian Bruhin
50557a9b3e crashdialog: Remove Github from contact types.
See #447.
2015-01-22 06:56:23 +01:00
ZDarian
dffa7ccf46 Merge branch 'master' of https://github.com/The-Compiler/qutebrowser into toggletab 2015-01-21 20:51:43 -07:00
ZDarian
ef5412f596 tab *-hide -> tab hide-* 2015-01-21 20:50:30 -07:00
ZDarian
335f72a93f perm-hide -> always-hide 2015-01-21 07:27:08 -07:00
ZDarian
5100f6fc8f better type check; -'aborting' 2015-01-21 07:24:05 -07:00
Florian Bruhin
fb2e84be2a Merge branch 'uggedal-voidlinux' 2015-01-21 07:16:53 +01:00
Florian Bruhin
8da4e2b6f4 Update AUTHORS 2015-01-21 07:16:29 +01:00
Florian Bruhin
407edef2bc Merge branch 'voidlinux' of https://github.com/uggedal/qutebrowser into uggedal-voidlinux 2015-01-21 07:16:16 +01:00
Florian Bruhin
6c2471bf9c Merge branch 'peterlvilim-show-default-value' 2015-01-21 07:14:55 +01:00
Florian Bruhin
4f20d6123c Update AUTHORS 2015-01-21 07:14:48 +01:00
Florian Bruhin
d540a1ee22 Merge branch 'show-default-value' of https://github.com/peterlvilim/qutebrowser into peterlvilim-show-default-value 2015-01-21 07:07:25 +01:00
Florian Bruhin
6d3f871119 Add workaround for unknown pylint no-member bug. 2015-01-21 00:01:05 +01:00
Florian Bruhin
958e67ab9e Add workaround for pylint performance bug.
See https://bitbucket.org/logilab/pylint/issue/395/horrible-performance-related-to-inspect
2015-01-21 00:00:52 +01:00
Florian Bruhin
2e45c2c063 Stop pinning pylint/astroid to 1.3.1/1.2.1. 2015-01-21 00:00:51 +01:00
Florian Bruhin
532ec30d00 Fix executing of virtualenv pylint on Windows.
6a7e454789 broke executing pylint on Windows,
because there was a pylint Python script in vev\Scripts, and subprocess tried
to execute that instead of the .exe.
2015-01-20 23:06:03 +01:00
Florian Bruhin
f4479a8140 Fix adding epilogue in src2asciidoc.py. 2015-01-20 00:02:16 +01:00
Florian Bruhin
6a7e454789 Add proper virtualenv support to run_checks.py 2015-01-19 23:50:01 +01:00
Peter Vilim
c30978be2f Add quotes for empty default value 2015-01-19 13:17:17 -06:00
Florian Bruhin
18443a6880 run_checks: Support print_version for check_pep257. 2015-01-19 00:53:05 +01:00
Florian Bruhin
aa6750ac1b run_checks: Add a comment for check_pep257. 2015-01-19 00:51:33 +01:00
Florian Bruhin
dc9263a77c Revert "run_checks: Run pep257 via subprocess."
This reverts commit 380537d49c.

Conflicts:
	scripts/run_checks.py

This is needed because it seems pep257 doesn't install a binary on Windows.
2015-01-19 00:50:18 +01:00
Florian Bruhin
1e8729eac7 run_checks: Add a --print-version argument. 2015-01-19 00:45:01 +01:00