2019-05-24 10:21:35 +00:00
|
|
|
[sdist]
|
2019-06-07 13:47:02 +00:00
|
|
|
formats=gztar, xztar
|
2019-05-24 10:21:35 +00:00
|
|
|
|
2009-07-22 23:04:48 +00:00
|
|
|
[build_docs]
|
2009-07-20 09:00:47 +00:00
|
|
|
source-dir = docs/source
|
|
|
|
build-dir = docs/build
|
2018-07-28 07:14:25 +00:00
|
|
|
all_files = true
|
|
|
|
fresh-env = true
|
2013-02-14 00:29:14 +00:00
|
|
|
|
|
|
|
[py2app]
|
2017-06-26 22:02:36 +00:00
|
|
|
app = ['deluge/ui/ui_entry.py']
|
2017-06-07 10:22:07 +00:00
|
|
|
arch = x86_64
|
|
|
|
# arch = i386
|
2017-06-26 22:02:36 +00:00
|
|
|
iconfile = packaging/osx/deluge.icns
|
2013-02-14 00:29:14 +00:00
|
|
|
site-packages = false
|
2013-03-17 18:10:51 +00:00
|
|
|
includes = glib, gio, cairo, pango, pangocairo, atk, gobject, gtk.keysyms,
|
|
|
|
twisted.internet, twisted.internet.utils, twisted.protocols,
|
2017-06-26 22:02:36 +00:00
|
|
|
zope.interface, mako.cache, email.mime, libtorrent, gtkosx_application,
|
|
|
|
HTMLParser
|
2013-03-17 18:10:51 +00:00
|
|
|
frameworks = CoreFoundation, Foundation, AppKit
|
2013-05-22 22:33:06 +00:00
|
|
|
|
2014-09-19 14:43:21 +00:00
|
|
|
[isort]
|
2016-10-31 11:51:12 +00:00
|
|
|
known_standard_library = future_builtins
|
2016-11-25 11:46:36 +00:00
|
|
|
known_third_party =
|
|
|
|
# Ignore gtk modules, primarily for tox testing.
|
2018-10-25 14:02:53 +00:00
|
|
|
cairo, gi,
|
2018-10-05 08:39:30 +00:00
|
|
|
# Ignore other module dependencies for pre-commit isort.
|
2018-10-05 08:33:26 +00:00
|
|
|
twisted, OpenSSL, pytest, recommonmark, chardet, pkg_resources, zope, mock,
|
2019-03-30 09:48:56 +00:00
|
|
|
sphinx, rencode, six, mako
|
2016-10-31 11:51:12 +00:00
|
|
|
known_first_party = msgfmt, deluge
|
2016-05-13 13:00:10 +00:00
|
|
|
order_by_type = true
|
|
|
|
not_skip = __init__.py
|
2018-10-02 14:39:51 +00:00
|
|
|
# Black compatible settings
|
|
|
|
multi_line_output=3
|
|
|
|
include_trailing_comma=True
|
|
|
|
force_grid_wrap=0
|
|
|
|
line_length=88
|
|
|
|
use_parentheses=True
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length = 120
|
|
|
|
builtins = _,_n,__request__
|
2018-07-13 08:34:49 +00:00
|
|
|
exclude = .git,.tox,.eggs,dist,build
|
2018-10-02 14:39:51 +00:00
|
|
|
ignore =
|
|
|
|
# A003 Class attribute is a python builtin.
|
|
|
|
A003,
|
|
|
|
# C813, C815, C816: PY3 missing trailing commas.
|
|
|
|
C813,C815,C816,
|
|
|
|
# W503 line break before binary operator.
|
|
|
|
W503,
|
|
|
|
E203
|
|
|
|
|
|
|
|
[pycodestyle]
|
|
|
|
max-line-length = 88
|