File: Ignore-Python-version-check-in-setup.py.patch

package info (click to toggle)
python-fudge 1.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 744 kB
  • sloc: javascript: 3,300; python: 2,537; makefile: 82; sh: 5
file content (34 lines) | stat: -rw-r--r-- 877 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 6 Nov 2021 11:39:29 +0100
Subject: Ignore Python version check in setup.py

We don't need this version check, we only want to build and support
Python3 any way.

Forwarded: not-needed
---
 setup.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/setup.py b/setup.py
index 29b412d..2662ba1 100644
--- a/setup.py
+++ b/setup.py
@@ -12,11 +12,6 @@ for line in open("./fudge/__init__.py"):
         break
 assert version
 
-extra_setup = {}
-if sys.version_info >= (3,):
-    extra_setup['use_2to3'] = True
-    # extra_setup['use_2to3_fixers'] = ['your.fixers']
-
 setup(
     name='fudge',
     version=version,
@@ -67,5 +62,4 @@ email without actually sending email::
         'Programming Language :: Python :: 3.2',
         'Topic :: Software Development :: Testing'
         ],
-    **extra_setup
     )