mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-22 23:11:00 -04:00
32 lines
1002 B
Python
32 lines
1002 B
Python
#!/usr/bin/env python
|
|
# vim:fileencoding=utf-8
|
|
from __future__ import (unicode_literals, division, absolute_import,
|
|
print_function)
|
|
|
|
__license__ = 'GPL v3'
|
|
__copyright__ = '2014, Kovid Goyal <kovid at kovidgoyal.net>'
|
|
|
|
# QT5XX: Implement a minimal QPA plugin to allow headless operation, see the
|
|
# minimal example in the Qt source code and see
|
|
# https://github.com/ariya/phantomjs/pull/173 for info on how to enable fonts
|
|
# with fontconfig (probably needed for PDF output and SVG rendering)
|
|
|
|
# QT5XX: Port def wheelEvent() (orientation() and delta() to be replaced by
|
|
# angleDelta())
|
|
|
|
# QT5XX: Delete this file after migration is completed
|
|
|
|
import os
|
|
|
|
def all_py_files():
|
|
base = os.path.dirname(os.path.dirname(os.path.basename(__file__)))
|
|
for dirpath, dirname, filenames in os.walk(os.path.join(base, 'src', 'calibre')):
|
|
for n in filenames:
|
|
if n.endswith('.py'):
|
|
yield os.path.join(dirpath, n)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
pass
|
|
|