summaryrefslogtreecommitdiffstats
path: root/packaging/source (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade codebase with pyupgrade (>=py3.6)DjLegolas2021-12-291-2/+1
| | | | | | | | Added pyupgrade utility with manual stage to pre-commit and run on all files. Ref: https://github.com/asottile/pyupgrade Closes: deluge-torrent/deluge#326
* Remove all Python 2 supportdeluge-2.1.0.dev0DjLegolas2021-12-281-7/+0
| | | | | | | | | * Removed all __future__ imports from code * Removed all six dependencies * Removed all future_builtins imports * Removed all Python 2 related code Closes: deluge-torrent/deluge#325
* [Packaging] Update make_release script for Py3Calum Lind2018-10-191-24/+26
| | | | xz compression is included in Python 3 so simplify script.
* [Lint] Use Black to auto-format codeCalum Lind2018-10-031-3/+12
| | | | | | | | | | | | | | | | | The move to using auto-formatter makes it easier to read, submit and speeds up development time. https://github.com/ambv/black/ Although I would prefer 79 chars, the default line length of 88 chars used by black suffices. The flake8 line length remains at 120 chars since black does not touch comments or docstrings and this will require another round of fixes. The only black setting that is not standard is the use of double-quotes for strings so disabled any formatting of these. Note however that flake8 will still flag usage of double-quotes. I may change my mind on double vs single quotes but for now leave them. A new pyproject.toml file has been created for black configuration.
* [Packaging] Simplify release script using sdistCalum Lind2017-06-271-51/+25
| | | | | | * setup.py sdist now creates a pristine tar which can be used for release. * Uses the version currently checked-out in git. * Removed unneeded lines in manifest.
* [Packaging] Fix using wrong commit idCalum Lind2017-06-251-1/+1
|
* [Packaging] Add a make_release file for source packagingCalum Lind2017-05-171-0/+78