Commit Graph

37 Commits

Author SHA1 Message Date
Jay Kamat
3e816f5f8b
Update copyright for 2019 2019-02-22 21:45:08 -08:00
Florian Bruhin
6f028e9ad0 Update copyright years 2018-02-05 12:19:50 +01:00
Gyorgy Orban
bb54a954fe use subprocess run
The usage of subprocess.run is recommended since python 3.5.
Popen, check_call, call and check_output calls were replaced with run.
2017-11-01 09:59:32 +01:00
Jay Kamat
4ff44eff7b
Clean up logic for finding git hash
Also add implementation for release scripts as well
2017-10-14 18:08:52 -04:00
Florian Bruhin
c74236dd96 Move some data from setupcommon to setup.py
We can't get rid of setupcommon entirely (it's needed by PyInstaller), but at
least we can get the data back to setup.py.

Fixes #2996
2017-09-21 22:54:58 +02:00
Florian Bruhin
1de25c14e4 Add attrs to setup.py 2017-09-19 22:36:37 +02:00
Florian Bruhin
505321c336 Drop support for Python 3.4
See #2742
2017-09-18 23:01:17 +02:00
Florian Bruhin
822623f2ed Finally update copyrights... 2017-05-09 21:37:03 +02:00
Daniel Karbach
da2ba86aa5 use https for links in docs and elsewhere
refs #2039
2016-10-20 14:48:35 +02:00
Florian Bruhin
a5f2ac5f03 Adjust copyright years. 2016-01-04 07:12:39 +01:00
Florian Bruhin
6f9b02741a Switch from map() to list comprehensions. 2015-12-01 07:16:32 +01:00
Florian Bruhin
513fbb1539 Make setup.py work with python2.
This is needed for distributions (Debian/Ubuntu) which only have a python2 tox.
Tests will still be run with python3, but the setup will be called with
python2.
2015-03-26 07:57:39 +01:00
Florian Bruhin
8f1d81a644 Add session support.
Closes #12.
See #499.
See #11.

This adds PyYAML as a new dependency.

It adds the following new commands:

    :session-delete <name>
    Delete a session.

    :session-load <name>
    Load a session.

    :session-save [<name>]
    Save a session.

    :wq [<name>]
    Save open pages and quit.

And the following new settings:

    general -> save-session:
    Whether to always save the open pages.
2015-02-16 20:26:09 +01:00
Florian Bruhin
450d1ab70d Update copyright years 2015-01-03 15:51:31 +01:00
Florian Bruhin
655115858c Handle OSError when using subprocess. 2014-11-23 18:07:05 +01:00
Florian Bruhin
8095de6c59 Get rid of the getcwd hack in scripts. 2014-09-22 20:41:12 +02:00
Florian Bruhin
14cc77ff42 Add pygments as dependency. 2014-09-15 17:59:33 +02:00
Florian Bruhin
2fdf241da2 Add dependency on jinja2. 2014-08-28 20:14:40 +02:00
Florian Bruhin
17dd4732ae Add explicit encoding to open() calls. 2014-08-20 20:33:14 +02:00
Florian Bruhin
c7bfe784e4 Adjust the rest of the code for rfc6266 -> pypeg2 2014-08-14 13:37:27 +02:00
Florian Bruhin
c7ee655750 Use pylint to check modelines and fix them. 2014-08-06 23:51:44 +02:00
Florian Bruhin
8d80ce2628 Switch to python 3.4 enums.
Our home-brewn enum wasn't really liked by pylint (many no-member errors), so
instead of adding some workaround, we just use the python 3.4 enum instead.

This however also means we need to depend on Python 3.4 and not 3.3. Maybe we
should use enum34 on Python < 3.3.
2014-07-28 20:41:42 +02:00
Florian Bruhin
d4c3a65fe3 Start with manpage generation 2014-07-18 07:48:33 +02:00
Florian Bruhin
91ff5d889f Fix README path in setupcommon.py 2014-06-27 09:39:33 +02:00
Florian Bruhin
b6ddda8f17 Show git timestamp in version 2014-06-23 16:19:43 +02:00
Florian Bruhin
917bc820a4 Fix missing list in setupcommon.py 2014-06-20 08:14:52 +02:00
Florian Bruhin
6ce5afccbe Use rfc6266 to handle Content-Disposition in downloads 2014-06-19 21:06:19 +02:00
Florian Bruhin
a254b4c001 Fix _get_constant in setupcommon 2014-06-19 10:11:14 +02:00
Florian Bruhin
06779a875f Move extras_require to setup.py 2014-06-19 09:34:07 +02:00
Florian Bruhin
3090a6330d Clean up Python 3.2 compatibility cruft. 2014-06-16 11:20:43 +02:00
Florian Bruhin
a3e5d5056e Don't import qutebrowser in setup.py 2014-06-06 18:47:01 +02:00
Florian Bruhin
53fd55b368 Add ipdb to optdepends 2014-06-06 18:12:28 +02:00
Florian Bruhin
e6893af3d4 Support colorama to get colored logs on windows 2014-06-06 12:13:32 +02:00
Florian Bruhin
371c2b998a Add more meta-info to qutebrowser/__init__.py 2014-05-27 15:45:58 +02:00
Florian Bruhin
7f3a21e4f0 Fix lint in scripts 2014-05-15 08:24:10 +02:00
Florian Bruhin
765e20f881 Try to preserve git commit id with setup.py/freeze.py 2014-05-15 07:13:49 +02:00
Florian Bruhin
1922f51e21 Rename setupdata to setupcommon 2014-05-15 06:38:44 +02:00