File: 2to3.patch

package info (click to toggle)
python-oauth 1.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 152 kB
  • sloc: python: 640; makefile: 3
file content (23 lines) | stat: -rw-r--r-- 678 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
From 2b2913c89be763b50166ecd1423e32574bd207ab Mon Sep 17 00:00:00 2001
From: Dimitri John Ledkov <xnox@ubuntu.com>
Date: Thu, 8 Oct 2015 12:35:50 -0700
Subject: use 2to3 to generate python3 module

Patch-Name: 2to3.patch
---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index c83e269..ed8899f 100644
--- a/setup.py
+++ b/setup.py
@@ -9,5 +9,6 @@ setup(name="oauth",
       author_email="leah.culver@gmail.com",
       url="http://code.google.com/p/oauth",
       packages = find_packages(),
+      use_2to3 = True,
       license = "MIT License",
-      zip_safe = True)
\ No newline at end of file
+      zip_safe = True)