1From 3446a4af8474cd863efddeae7f3e5dd3f9b8e25e Mon Sep 17 00:00:00 2001
2From: Titouan Christophe <titouan.christophe@railnova.eu>
3Date: Mon, 17 Feb 2020 15:12:13 +0100
4Subject: [PATCH] drop install time linting and imports sorting
5
6Since the 1.9.2 release, the setup script is also performing code linting
7tasks, which require additional python libraries.
8
9These linting tasks are not needed anyway, since they are intended to prepare
10the code for distribution, but the Buildroot package is already using a
11distributed version. We therefore simply remove them.
12
13Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
14---
15 setup.cfg | 2 --
16 setup.py  | 1 -
17 2 files changed, 3 deletions(-)
18
19diff --git a/setup.cfg b/setup.cfg
20index 7b5de18..d46a36e 100644
21--- a/setup.cfg
22+++ b/setup.cfg
23@@ -25,8 +25,6 @@ package_dir =
24 include_package_data = true
25 packages = avro
26 setup_requires =
27-	isort
28-	pycodestyle
29 install_requires =
30 zip_safe = true
31 scripts =
32diff --git a/setup.py b/setup.py
33index f6297bb..91d3287 100755
34--- a/setup.py
35+++ b/setup.py
36@@ -164,7 +164,6 @@ def main():
37     setuptools.setup(cmdclass={
38         "clean": CleanCommand,
39         "generate_interop_data": GenerateInteropDataCommand,
40-        "lint": LintCommand,
41     })
42
43
44--
452.24.1
46
47