Commit graph

85 commits

Author SHA1 Message Date
Laurent Bachelier
b450098508 Add another way to check for Pillow 2014-01-01 22:47:22 +01:00
Romain Bignon
572333c963 remove installation of modules 2013-10-08 18:26:08 +02:00
Romain Bignon
b5f43bf1f5 disable Qt 2013-10-08 18:26:08 +02:00
Romain Bignon
beecb1b189 add --modules to install modules 2013-08-18 20:21:57 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Laurent Bachelier
fb1b8bc5b8 Remove some from __future__, forbid 2.5 in setup 2013-07-27 14:58:19 +02:00
Laurent Bachelier
e6808d7096 Not needed anymore 2013-07-21 04:16:58 +02:00
Romain Bignon
e30fd0b9e9 add missing references to build qhandjoob 2013-07-14 19:08:17 +02:00
Laurent Bachelier
fdfbfb0658 Workaround Debian compatibily layer 2013-06-27 14:53:36 +02:00
Laurent Bachelier
b1bd2e549a Use Pillow, unless PIL is already there 2013-06-23 20:03:51 +02:00
Stefano Zacchiroli
25b2c6df30 rename Makefile -> build.mk to avoid spurious build attempts
rationale: proper build needs to go through setup.py anyhow
by renaming Makefile to a less common name, we avoid people building by mistakes
only the makefile-driven part.

This also helps distribution heuristics when guessing how to auto-build
packages (e.g. Debian dh_auto_build)
2013-04-25 12:56:42 +02:00
Laurent Bachelier
bae6f257fc Add --nodeps option to ignore dependencies 2013-04-20 11:56:00 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
8a92a4c735 Clean up and add requirements 2013-03-25 11:10:38 +01:00
Julien Veyssier
b219926ffe qcookboob in setup and makefile 2013-03-18 11:16:06 +01:00
Florent
5d70856014 Add qcineoob in setup.py and Makefile 2013-03-13 17:38:25 +01:00
Laurent Bachelier
f8b409a508 All messages on stderr
This allows using ./setup.py --url as long as you ignore stderr, for example.
2013-03-09 14:57:08 +01:00
Laurent Bachelier
575658ef69 Fast and silent building 2013-03-02 13:52:14 +01:00
Laurent Bachelier
79a90be331 Use a central Makefile
This allows running "make clean", or "make all" without using the
setup.py.
2013-03-02 13:52:14 +01:00
Laurent Bachelier
c90b4b5334 Update for latest Gentoo installs
I don't think other distributions use the old naming. Also removing 2.5.
2013-03-02 13:52:14 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Adrien Kunysz
53b4cd7178 setup.py: be less confusing when make is missing
When make is missing, setup.py prints a message suggesting to install
PyQt4-devel even if it already is. This change with the help of
6788c11a6d63824862d340f82da9de46ef63ee60 makes the message more helpful.

Before:
$ python setup.py
Building Qt applications
Install PyQt4-devel or disable Qt applications (with --no-qt).

After:
$ python setup.py
Building Qt applications
Could not find executable: make
Install missing component(s) (see above) or disable Qt applications (with --no-qt).

Signed-off-by: Adrien Kunysz <adrien@kunysz.be>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-11-04 16:24:59 +01:00
Adrien Kunysz
24119de001 setup.py: print what executable we were looking for
The error message is sometimes confusing. Consider the following
situation on Debian 6.0:

$ python setup.py
Building Qt applications
Install PyQt4-devel or disable Qt applications (with --no-qt).
$ dpkg -l | grep -i python | grep -i qt
ii  python-qt4          4.7.3-1+b1         Python bindings for Qt4
ii  python-qt4-dev      4.7.3-1            Development files for PyQt4

What is really missing is the pyuic4 executable which is provided by
a different package on that distribution. But you have no way to know
that unless you go look into setup.py. This change prints what
executable we are missing as to help diagnose this kind of problem:

$ python setup.py
Building Qt applications
Could not find executable: pyuic4
Install PyQt4-devel or disable Qt applications (with --no-qt).

Notice that until e69adf357b,
the name of the missing executable was printed as well.

Signed-off-by: Adrien Kunysz <adrien@kunysz.be>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-11-04 16:24:59 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Romain Bignon
aeac1a9a2c Weboob 0.d released 2012-10-28 20:39:07 +01:00
Laurent Bachelier
e69adf357b Simplify setup.py, support more distros
This should force Python 2 on Gentoo (though it worked with default
config), and work again with Arch.
The find_executable() function should work on POSIX and Windows
platforms.
It is also easily possible to override executables.
Generally the code is shorter and PEP8 compliant.
2012-10-18 23:40:50 +02:00
Romain Bignon
3e21a76119 change "out of" with "outside of" 2012-08-03 10:02:49 +02:00
Romain Bignon
bc944f98fe fix version in setup.py 2012-05-05 00:25:04 +02:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Romain Bignon
f119e2e584 Weboob 0.b released 2012-03-14 22:08:56 +01:00
Laurent Bachelier
006e97a8be PEP8 style fixes and other small style fixes
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.

Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
  classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
  change to a comment something that wasn't really appropriate for a
  docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Laurent Bachelier
203244868f Better package description 2012-03-11 01:33:27 +01:00
Romain Bignon
33a9bf71a8 rename havesex and QHaveSex to havedate and QHaveDate 2012-03-03 22:59:17 +01:00
Romain Bignon
07f105910e add new application qflatboob 2012-02-16 16:29:40 +01:00
Romain Bignon
98179edc93 I'm now the maintainer of packaging 2012-02-05 23:42:29 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Romain Bignon
82bffbd660 improve error message when qt4 is not found (closes #733) 2012-02-02 10:13:17 +01:00
Romain Bignon
eb3f681136 bump to 0.a 2011-10-10 11:38:02 +02:00
Romain Bignon
1b6d04ffee Weboob 0.9 released 2011-10-10 11:37:44 +02:00
Romain Bignon
2a81e8d950 fix licenses to AGPLv3+ 2011-06-22 16:20:20 +02:00
Romain Bignon
53e22d9f4b bump to 0.9 2011-05-08 18:31:44 +02:00
Romain Bignon
7e50b24b6b Revert "Uncomment python dependencies." (closes #654)
This reverts commit dce76d35f8.

It is really CRAPPY to add a hard dependencies to optional things like
PyQt.
2011-05-02 10:46:35 +02:00
Christophe Benz
dce76d35f8 Uncomment python dependencies. 2011-04-21 11:03:12 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
31a0a0a8be bump to 0.8 2011-04-04 10:30:09 +02:00
Laurent Dufréchou
08d556a6e2 Modify setup.py to include PATH into subshell env under win32
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2011-03-17 11:55:45 +01:00
Bluebird75
4db660b86c Make setup.py work with Windows: - introduce check_executable_unix and check_executable_windows and use them appropriately - use subprocess.check_call instead of os.system to catch make compilation errors - force makefile to use the pyuic detected in the check_executable (needed to have PYUIC=pyuic4.bat work correctly) - do not compile qvideoboob on Windows because it requires phonon 2011-03-14 13:16:57 +01:00
Romain Bignon
3cb6ca033f bump to 0.7 2011-03-01 13:57:23 +01:00
Clément Schreiner
dcb2375fd1 New application qwebcontentedit
Status: ugly GUI, editing and saving a page mostly working,
preview support in progress
2011-02-01 15:08:39 +01:00
Romain Bignon
2ebb9a844d bump to 0.6 2011-01-08 12:30:28 +01:00