Commit Graph

49 Commits

Author SHA1 Message Date
Florian Bruhin
52c44d3da6 setup.py: Set long_description_content_type
Otherwise, Warehouse (new PyPI) refuses the upload...
2018-05-29 11:23:10 +02:00
Florian Bruhin
f25e706e11 Add Python 3.7 compatibility to setup.py 2018-02-10 20:08:33 +01:00
Florian Bruhin
dbefaccf06 Set python_requires in setup.py 2017-11-15 09:47:45 +01:00
Florian Bruhin
3f18a5ada7 Update metainfo in setup.py 2017-09-21 22:57:29 +02: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
3a5241b642 Start using attrs
Closes #1073
2017-09-19 22:21:45 +02:00
Florian Bruhin
822623f2ed Finally update copyrights... 2017-05-09 21:37:03 +02:00
Florian Bruhin
5311576c34 Check pep257 via flake8.
We'll still keep the pydocstyle environment though until flake8-pep257 adds
support for that:

https://github.com/Robpol86/flake8-pep257/issues/6
2016-02-10 19:18:47 +01:00
Florian Bruhin
956baed76b Use exclude= instead of include= for find_packages.
It seems the old setuptool version in Ubuntu Trusty doesn't have include=...
2015-06-26 19:45:56 +02:00
Florian Bruhin
97cc90b49f Revert "Revert "Don't install scripts package.""
This reverts commit 345d048f43.
2015-06-26 19:25:58 +02:00
Florian Bruhin
345d048f43 Revert "Don't install scripts package."
This reverts commit f61aaa9053.
2015-06-26 10:00:36 +02:00
Florian Bruhin
f61aaa9053 Don't install scripts package.
See #783.
2015-06-26 09:47:34 +02: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
d1d6fb3dce Use Qt resources for the window icon. 2014-12-28 15:10:02 +01:00
Florian Bruhin
ea5ee0e7c8 Only remove icon tree if necessary. 2014-12-28 14:52:35 +01:00
Florian Bruhin
f1435ce51f Use a dirty hack to copy icon files into package.
See #325.
2014-12-28 14:50:25 +01:00
Florian Bruhin
2a4e884e1b Set window icon. Closes #325. 2014-12-28 14:35:28 +01:00
Florian Bruhin
17b26f7ba9 Remove extras_require from setup.py 2014-12-04 20:28:56 +01:00
Florian Bruhin
2768b57386 Get rid of ez_setup.py.
This made life easier for systems without a package manager (Windows, I'm
looking at you!), but for anything else it tried to bootstrap setuptools even
though it was already installed (in a slightly older version) which lead to
conflicting files when packaging.
2014-11-24 12:21:16 +01:00
Florian Bruhin
e26606b0d6 Add /usr/bin/env to shebangs 2014-09-22 20:21:00 +02:00
Florian Bruhin
812a0fdd41 Merge branch 'newcmd'
Conflicts:
	.flake8
	pkg/PKGBUILD.qutebrowser-git
	qutebrowser/browser/commands.py
	qutebrowser/browser/hints.py
	qutebrowser/config/configdata.py
	qutebrowser/network/qutescheme.py
	qutebrowser/test/config/test_configtypes.py
	qutebrowser/utils/utils.py
2014-09-22 19:09:48 +02:00
Florian Bruhin
e552b62feb Revert "Start patching setuptools commands"
This reverts commit 42e8e800aa.
2014-09-22 18:31:19 +02:00
Florian Bruhin
42e8e800aa Start patching setuptools commands 2014-09-22 07:07:09 +02:00
Florian Bruhin
14cc77ff42 Add pygments as dependency. 2014-09-15 17:59:33 +02:00
Florian Bruhin
3d1830ec13 Remove explicit package_data from setup.py 2014-09-12 18:48:25 +02:00
Florian Bruhin
2fdf241da2 Add dependency on jinja2. 2014-08-28 20:14:40 +02:00
Florian Bruhin
d625cde28c Clean up imports 2014-08-26 19:10:14 +02:00
Florian Bruhin
4acd37edd0 Update setup.py. 2014-08-20 15:21:35 +02:00
Florian Bruhin
8fedf1a9be Adjust shebangs to call python3 2014-07-31 21:14:05 +02:00
Florian Bruhin
09cfa7669e Mark scripts as executable. 2014-07-31 21:09:34 +02:00
Florian Bruhin
4b95f369a4 Get rid of ipdb/IPython.
This caused more problems than it's worth really, and it does some black magic
I'm not comfortable with.
2014-06-24 07:42:49 +02:00
Florian Bruhin
06779a875f Move extras_require to setup.py 2014-06-19 09:34:07 +02:00
Florian Bruhin
d65587128f Add vim modelines to all files. 2014-06-19 09:04:37 +02:00
Florian Bruhin
af19e6d2e5 Move init to own file qutebrowser.py 2014-06-04 14:11:55 +02:00
Florian Bruhin
57d261ee85 Add a main function to app.py 2014-06-04 13:38:53 +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
Florian Bruhin
b2888bf6ca Add freeze.py 2014-05-13 11:41:27 +02:00
Florian Bruhin
70c8df095e Switch from appdirs to QStandardPaths 2014-05-08 22:33:24 +02:00
Florian Bruhin
3753e87465 Depend on appdirs instead of bundling 2014-05-06 06:22:28 +02:00
Florian Bruhin
083ad97953 Move ez_setup.py to scripts 2014-05-05 19:13:28 +02:00
Florian Bruhin
ae0966a384 Fix encoding issues on windows.
locale.getpreferredencoding(False) returns cp1252 on Windows, which is
unable to parse our nice unicode arrows.

Therefore, we always need to specify the encoding when using open().

Also we exclude configdata.py from pep257 on Windows because it doesn't
detect the encoding correctly... Bug is submitted:
https://github.com/GreenSteam/pep257/issues/70
2014-05-02 11:15:38 +02:00
Florian Bruhin
586b1df8df Add package_data 2014-04-29 07:44:50 +02:00
Florian Bruhin
166a71c263 Add line breaks in setup.py 2014-04-29 07:11:36 +02:00
Florian Bruhin
d8ec32a097 Add ez_setup 2014-04-29 06:52:56 +02:00
Florian Bruhin
0f6b5809e1 Add testsuite and zip_safe=True 2014-04-29 06:51:59 +02:00
Florian Bruhin
3dea986158 Use include_package_data=True 2014-04-29 06:51:50 +02:00
Florian Bruhin
f596864324 Add setup.py 2014-04-28 23:20:40 +02:00