<86>Apr 14 01:31:11 userdel[59488]: delete user 'rooter' <86>Apr 14 01:31:11 groupadd[59494]: group added to /etc/group: name=rooter, GID=603 <86>Apr 14 01:31:11 groupadd[59494]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:31:11 groupadd[59494]: new group: name=rooter, GID=603 <86>Apr 14 01:31:11 useradd[59500]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Apr 14 01:31:11 userdel[59512]: delete user 'builder' <86>Apr 14 01:31:11 userdel[59512]: removed group 'builder' owned by 'builder' <86>Apr 14 01:31:11 groupadd[59522]: group added to /etc/group: name=builder, GID=604 <86>Apr 14 01:31:11 groupadd[59522]: group added to /etc/gshadow: name=builder <86>Apr 14 01:31:11 groupadd[59522]: new group: name=builder, GID=604 <86>Apr 14 01:31:11 useradd[59527]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash <13>Apr 14 01:31:16 rpmi: libyaml2-0.1.6-alt1 1397147705 installed <13>Apr 14 01:31:16 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:31:16 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:31:16 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 14 01:31:16 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 14 01:31:16 rpmi: libxslt-1.1.28-alt4 1448210404 installed <13>Apr 14 01:31:16 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:31:16 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:31:16 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:16 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:31:16 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:31:16 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:31:17 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:31:17 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:31:17 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:31:17 groupadd[86883]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:31:17 groupadd[86883]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:31:17 groupadd[86883]: new group: name=_keytab, GID=499 <13>Apr 14 01:31:17 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <86>Apr 14 01:31:17 groupadd[87360]: group added to /etc/group: name=sasl, GID=498 <86>Apr 14 01:31:17 groupadd[87360]: group added to /etc/gshadow: name=sasl <86>Apr 14 01:31:17 groupadd[87360]: new group: name=sasl, GID=498 <13>Apr 14 01:31:17 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 14 01:31:17 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 14 01:31:17 rpmi: libpq5.11-11.2-alt0.M80P.1 p8+221524.600.1.1 1550205370 installed <13>Apr 14 01:31:17 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:31:17 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:17 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:31:17 rpmi: python3-module-pycparser-2.14-alt1.1 1458071180 installed <13>Apr 14 01:31:17 rpmi: python3-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed <13>Apr 14 01:31:17 rpmi: python3-module-idna-2.5-alt0.M80P.1 1501735172 installed <13>Apr 14 01:31:17 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Apr 14 01:31:17 rpmi: python3-module-funcsigs-0.4-alt1.git20131220.1 1457958730 installed <13>Apr 14 01:31:17 rpmi: python3-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Apr 14 01:31:17 rpmi: python3-module-httplib2-0.9.1-alt1.1 1457971244 installed <13>Apr 14 01:31:17 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Apr 14 01:31:17 rpmi: python3-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Apr 14 01:31:17 rpmi: python3-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed <13>Apr 14 01:31:17 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:31:17 rpmi: python3-module-oauth2-1.5.211-alt1.1 1458002224 installed <13>Apr 14 01:31:17 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:31:17 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:18 rpmi: python3-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed <13>Apr 14 01:31:18 rpmi: python3-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed <13>Apr 14 01:31:18 rpmi: python3-module-OpenSSL-16.2.0-alt0.M80P.1 1505402609 installed <13>Apr 14 01:31:18 rpmi: python3-module-psycopg2-2.7-alt1.dev0.git20150602.1.1 1459598065 installed <13>Apr 14 01:31:18 rpmi: python3-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:31:18 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:31:18 rpmi: python3-module-django-1.8.18-alt0.M80P.1 1497919276 installed <13>Apr 14 01:31:18 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:18 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:31:18 rpmi: python3-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Apr 14 01:31:18 rpmi: python3-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Apr 14 01:31:19 rpmi: python3-module-pip-10.0.1-alt1.M80P.1 1528316057 installed <13>Apr 14 01:31:19 rpmi: python3-module-pbr-2.0.0-alt0.M80P.1 1496089331 installed <13>Apr 14 01:31:19 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:31:19 rpmi: python3-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Apr 14 01:31:19 rpmi: python3-module-mock-1.3.0-alt1.git20150731.1.1 1457990410 installed <13>Apr 14 01:31:19 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:31:19 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 01:31:19 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-module-psycopg2-2.7-alt1.dev0.git20150602.1.1 1459598065 installed <13>Apr 14 01:31:19 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:31:19 rpmi: python-modules-wsgiref-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:31:19 rpmi: python-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:31:19 rpmi: python-module-funcsigs-0.4-alt1.git20131220.1 1457958730 installed <13>Apr 14 01:31:19 rpmi: python-module-httplib2-0.9.1-alt1.1 1457971244 installed <13>Apr 14 01:31:19 rpmi: python-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Apr 14 01:31:19 rpmi: python-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Apr 14 01:31:19 rpmi: python-module-oauth2-1.5.211-alt1.1 1458002224 installed <13>Apr 14 01:31:19 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:31:19 rpmi: python-module-pbr-2.0.0-alt0.M80P.1 1496089331 installed <13>Apr 14 01:31:19 rpmi: python-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed <13>Apr 14 01:31:19 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:31:20 rpmi: python-module-django-1.8.18-alt0.M80P.1 1497919276 installed <13>Apr 14 01:31:20 rpmi: python-module-mock-1.3.0-alt1.git20150731.1.1 1457990410 installed Installing python-module-django-oauth-plus-2.2.5-alt1.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.66456 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-django-oauth-plus-2.2.5 + echo 'Source #0 (python-module-django-oauth-plus-2.2.5.tar):' Source #0 (python-module-django-oauth-plus-2.2.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-django-oauth-plus-2.2.5.tar + cd python-module-django-oauth-plus-2.2.5 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ../python3/setup.py RefactoringTool: Refactored ../python3/oauth_provider/views.py RefactoringTool: Refactored ../python3/oauth_provider/utils.py --- ../python3/setup.py (original) +++ ../python3/setup.py (refactored) @@ -6,8 +6,8 @@ return l.split('#', 1)[0].strip() def reqs(*f): - return list(filter(None, [strip_comments(l) for l in open( - os.path.join(os.getcwd(), *f)).readlines()])) + return list([_f for _f in [strip_comments(l) for l in open( + os.path.join(os.getcwd(), *f)).readlines()] if _f]) install_requires = reqs('requirements.txt') test_requires = reqs('test-requirements.txt') --- ../python3/oauth_provider/views.py (original) +++ ../python3/oauth_provider/views.py (refactored) @@ -1,4 +1,4 @@ -from urllib import urlencode +from urllib.parse import urlencode from django.conf import settings from django.contrib.auth.decorators import login_required @@ -10,14 +10,14 @@ import oauth2 as oauth -from decorators import oauth_required -from forms import AuthorizeRequestTokenForm +from .decorators import oauth_required +from .forms import AuthorizeRequestTokenForm from oauth_provider.compat import UnsafeRedirect -from responses import INVALID_PARAMS_RESPONSE, INVALID_CONSUMER_RESPONSE, COULD_NOT_VERIFY_OAUTH_REQUEST_RESPONSE -from store import store, InvalidConsumerError, InvalidTokenError -from utils import verify_oauth_request, get_oauth_request, require_params, send_oauth_error -from utils import is_xauth_request -from consts import OUT_OF_BAND +from .responses import INVALID_PARAMS_RESPONSE, INVALID_CONSUMER_RESPONSE, COULD_NOT_VERIFY_OAUTH_REQUEST_RESPONSE +from .store import store, InvalidConsumerError, InvalidTokenError +from .utils import verify_oauth_request, get_oauth_request, require_params, send_oauth_error +from .utils import is_xauth_request +from .consts import OUT_OF_BAND OAUTH_AUTHORIZE_VIEW = 'OAUTH_AUTHORIZE_VIEW' OAUTH_CALLBACK_VIEW = 'OAUTH_CALLBACK_VIEW' @@ -47,7 +47,7 @@ try: request_token = store.create_request_token(request, oauth_request, consumer, oauth_request['oauth_callback']) - except oauth.Error, err: + except oauth.Error as err: return send_oauth_error(err) ret = urlencode({ @@ -94,7 +94,7 @@ try: view_callable = get_callable(callback_view_str) except AttributeError: - raise Exception, "%s view doesn't exist." % callback_view_str + raise Exception("%s view doesn't exist." % callback_view_str) # try to treat it as Class Based View (CBV) try: @@ -113,7 +113,7 @@ try: view_callable = get_callable(authorize_view_str) except AttributeError: - raise Exception, "%s view doesn't exist." % authorize_view_str + raise Exception("%s view doesn't exist." % authorize_view_str) # try to treat it as Class Based View (CBV) try: @@ -197,7 +197,7 @@ #request_token = store.create_request_token(request, oauth_request, consumer, oauth_request.get('oauth_callback')) request_token = store.create_request_token(request, oauth_request, consumer, OUT_OF_BAND) request_token = store.authorize_request_token(request, oauth_request, request_token) - except oauth.Error, err: + except oauth.Error as err: return send_oauth_error(err) access_token = store.create_access_token(request, oauth_request, consumer, request_token) --- ../python3/oauth_provider/utils.py (original) +++ ../python3/oauth_provider/utils.py (refactored) @@ -1,11 +1,11 @@ import oauth2 as oauth -from urlparse import urlparse, urlunparse +from urllib.parse import urlparse, urlunparse from django.conf import settings from django.http import HttpResponse, HttpResponseBadRequest from django.contrib.auth import authenticate -from consts import MAX_URL_LENGTH +from .consts import MAX_URL_LENGTH OAUTH_REALM_KEY_NAME = getattr(settings, 'OAUTH_REALM_KEY_NAME', '') OAUTH_SIGNATURE_METHODS = getattr(settings, 'OAUTH_SIGNATURE_METHODS', ['plaintext', 'hmac-sha1']) @@ -32,7 +32,7 @@ response.status_code = 401 # return the authenticatRefactoringTool: Refactored ../python3/oauth_provider/urls.py RefactoringTool: Refactored ../python3/oauth_provider/tests/xauth.py RefactoringTool: Refactored ../python3/oauth_provider/tests/tests.py RefactoringTool: No changes to ../python3/oauth_provider/tests/protocol.py RefactoringTool: Refactored ../python3/oauth_provider/tests/issues.py e header header = oauth.build_authenticate_header(realm=OAUTH_REALM_KEY_NAME) - for k, v in header.iteritems(): + for k, v in header.items(): response[k] = v return response @@ -53,7 +53,7 @@ parameters = {} if request.method == "POST" and request.META.get('CONTENT_TYPE') == "application/x-www-form-urlencoded": - parameters = dict((k, v.encode('utf-8')) for (k, v) in request.POST.iteritems()) + parameters = dict((k, v.encode('utf-8')) for (k, v) in request.POST.items()) absolute_uri = request.build_absolute_uri(request.path) @@ -70,7 +70,7 @@ def verify_oauth_request(request, oauth_request, consumer, token=None): """ Helper function to verify requests. """ - from store import store + from .store import store # Check nonce if not store.check_nonce(request, oauth_request, oauth_request['oauth_nonce'], oauth_request['oauth_timestamp']): @@ -88,7 +88,7 @@ token = oauth.Token(token.key.encode('ascii', 'ignore'), token.secret.encode('ascii', 'ignore')) oauth_server.verify_request(oauth_request, consumer, token) - except oauth.Error, err: + except oauth.Error as err: return False return True --- ../python3/oauth_provider/urls.py (original) +++ ../python3/oauth_provider/urls.py (refactored) @@ -1,6 +1,6 @@ from oauth_provider.compat import url, patterns, include -from views import request_token, user_authorization, access_token +from .views import request_token, user_authorization, access_token urlpatterns = patterns('', url(r'^request_token/$', request_token, name='oauth_request_token'), --- ../python3/oauth_provider/tests/xauth.py (original) +++ ../python3/oauth_provider/tests/xauth.py (refactored) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- import time -import urllib -from urlparse import parse_qs +import urllib.request, urllib.parse, urllib.error +from urllib.parse import parse_qs from oauth_provider.models import Scope from oauth_provider.tests.auth import BaseOAuthTestCase, METHOD_URL_QUERY, METHOD_AUTHORIZATION_HEADER, METHOD_POST_REQUEST_BODY @@ -34,7 +34,7 @@ elif method==METHOD_URL_QUERY: response = self.c.get("/oauth/access_token/", parameters) elif method==METHOD_POST_REQUEST_BODY: - body = urllib.urlencode(parameters) + body = urllib.parse.urlencode(parameters) response = self.c.post("/oauth/access_token/", body, content_type="application/x-www-form-urlencoded") else: raise NotImplementedError --- ../python3/oauth_provider/tests/tests.py (original) +++ ../python3/oauth_provider/tests/tests.py (refactored) @@ -3,7 +3,7 @@ runner to pick up the tests. """ # https://github.com/swistakm/django-rest-framework/blob/master/rest_framework/tests/tests.py -from __future__ import unicode_literals + import os modules = [filename.rsplit('.', 1)[0] --- ../python3/oauth_provider/tests/issues.py (original) +++ ../python3/oauth_provider/tests/issues.py (refactored) @@ -1,8 +1,8 @@ import time -import urllib +import urllib.request, urllib.parse, urllib.error import json import datetime -from urlparse import parse_qs, urlparse +from urllib.parse import parse_qs, urlparse from django.conf import settings from django.test.client import RequestFactory @@ -141,7 +141,7 @@ 'oauth_signature': "%s&%s" % (self.CONSUMER_SECRET, self.ACCESS_TOKEN_SECRET), "additional_data": "whoop" # additional data } - response = self.c.post("/oauth/photo/", urllib.urlencode(parameters, True), + response = self.c.post("/oauth/photo/", urllib.parse.urlencode(parameters, True), content_type="application/x-www-form-urlencoded") self.assertEqual(response.status_code, 200) @@ -178,7 +178,7 @@ #we're just using the request, don't bother faking sending it rf = RequestFactory() - request = rf.post(querystring, urllib.urlencode(data), content_type) + request = rf.post(querystring, urllib.parse.urlencode(data), RefactoringTool: Refactored ../python3/oauth_provider/tests/decorators.py RefactoringTool: Refactored ../python3/oauth_provider/tests/auth.py content_type) # this is basically a "remake" of the relevant parts of # OAuthAuthentication in django-rest-framework @@ -221,7 +221,7 @@ super(OAuthTestIssue41XForwardedProto, self).setUp() self._request_token(METHOD_AUTHORIZATION_HEADER) self._authorize_and_access_token_using_form(METHOD_AUTHORIZATION_HEADER) - print + print() def _make_GET_auth_header(self, url): token = oauth.Token(self.ACCESS_TOKEN_KEY, self.ACCESS_TOKEN_SECRET) @@ -420,11 +420,11 @@ content_type = "application/x-www-form-urlencoded" header = self._make_auth_header_with_HMAC_SHA1('post', "/oauth/photo/", get_params, body_params, True) - body = urllib.urlencode(body_params) + body = urllib.parse.urlencode(body_params) response = self.c.post( # this is workaround to have both POST & GET params in this request - "/oauth/photo/?%s" % urllib.urlencode(get_params), + "/oauth/photo/?%s" % urllib.parse.urlencode(get_params), data=body, HTTP_AUTHORIZATION=header["Authorization"], content_type=content_type @@ -449,11 +449,11 @@ content_type = "application/x-www-form-urlencoded" header = self._make_auth_header_with_HMAC_SHA1('post', "/oauth/photo/", get_params, {}, True) - body = urllib.urlencode(body_params) + body = urllib.parse.urlencode(body_params) response = self.c.post( # this is workaround to have both POST & GET params in this request - "/oauth/photo/?%s" % urllib.urlencode(get_params), + "/oauth/photo/?%s" % urllib.parse.urlencode(get_params), data=body, HTTP_AUTHORIZATION=header["Authorization"], content_type=content_type @@ -469,7 +469,7 @@ url = "http://testserver:80" + path - body = urllib.urlencode(body_params) + body = urllib.parse.urlencode(body_params) params = {} params.update(get_params) --- ../python3/oauth_provider/tests/decorators.py (original) +++ ../python3/oauth_provider/tests/decorators.py (refactored) @@ -1,7 +1,7 @@ ## -*- coding: utf-8 -*- from pprint import pprint import time -import urllib +import urllib.request, urllib.parse, urllib.error from oauth_provider.models import Scope from oauth_provider.tests.auth import BaseOAuthTestCase, METHOD_POST_REQUEST_BODY, METHOD_AUTHORIZATION_HEADER, METHOD_URL_QUERY @@ -29,7 +29,7 @@ elif method==METHOD_URL_QUERY: response = self.c.get(url, parameters) elif method==METHOD_POST_REQUEST_BODY: - body = urllib.urlencode(parameters) + body = urllib.parse.urlencode(parameters) response = self.c.post(url, body, content_type="application/x-www-form-urlencoded") else: raise NotImplementedError --- ../python3/oauth_provider/tests/auth.py (original) +++ ../python3/oauth_provider/tests/auth.py (refactored) @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- import time -import urllib +import urllib.request, urllib.parse, urllib.error import re -from urlparse import parse_qs, urlparse +from urllib.parse import parse_qs, urlparse from django.test import TestCase, Client import oauth2 as oauth @@ -57,24 +57,24 @@ elif method==METHOD_URL_QUERY: response = self.c.get("/oauth/request_token/", parameters) elif method==METHOD_POST_REQUEST_BODY: - body = urllib.urlencode(parameters) + body = urllib.parse.urlencode(parameters) response = self.c.post("/oauth/request_token/", body, content_type="application/x-www-form-urlencoded") else: raise NotImplementedError if response.status_code != 200: - print response + print(response) self.assertEqual(response.status_code, 200) response_qs = parse_qs(response.content) - self.assert_(response_qs['oauth_token_secret']) - self.assert_(response_qs['oauth_token']) + self.asRefactoringTool: No changes to ../python3/oauth_provider/store/db.py RefactoringTool: Refactored ../python3/oauth_provider/store/__init__.py RefactoringTool: Refactored ../python3/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py sertTrue(response_qs['oauth_token_secret']) + self.assertTrue(response_qs['oauth_token']) self.assertEqual(response_qs['oauth_callback_confirmed'], ['true']) token = self.request_token = list(Token.objects.all())[-1] - self.assert_(token.key in response.content) - self.assert_(token.secret in response.content) - self.assert_(not self.request_token.is_approved) + self.assertTrue(token.key in response.content) + self.assertTrue(token.secret in response.content) + self.assertTrue(not self.request_token.is_approved) return response def _authorize_and_access_token_using_form(self, method=METHOD_URL_QUERY): @@ -122,7 +122,7 @@ elif method==METHOD_URL_QUERY: response = self.c.get("/oauth/access_token/", parameters) elif method==METHOD_POST_REQUEST_BODY: - body = urllib.urlencode(parameters) + body = urllib.parse.urlencode(parameters) response = self.c.post("/oauth/access_token/", body, content_type="application/x-www-form-urlencoded") else: raise NotImplementedError --- ../python3/oauth_provider/store/__init__.py (original) +++ ../python3/oauth_provider/store/__init__.py (refactored) @@ -167,7 +167,7 @@ store_class = getattr(importlib.import_module(module), attr) except ValueError: raise ImproperlyConfigured('Invalid oauth store string: "%s"' % path) - except ImportError, e: + except ImportError as e: raise ImproperlyConfigured('Error loading oauth store module "%s": "%s"' % (module, e)) except AttributeError: raise ImproperlyConfigured('Module "%s" does not define an oauth store named "%s"' % (module, attr)) --- ../python3/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py (original) +++ ../python3/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py (refactored) @@ -11,89 +11,89 @@ def forwards(self, orm): # Changing field 'Token.scope' - db.alter_column(u'oauth_provider_token', 'scope_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['oauth_provider.Scope'], null=True)) + db.alter_column('oauth_provider_token', 'scope_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['oauth_provider.Scope'], null=True)) def backwards(self, orm): # Changing field 'Token.scope' - db.alter_column(u'oauth_provider_token', 'scope_id', self.gf('django.db.models.fields.related.ForeignKey')(default=0, to=orm['oauth_provider.Scope'])) + db.alter_column('oauth_provider_token', 'scope_id', self.gf('django.db.models.fields.related.ForeignKey')(default=0, to=orm['oauth_provider.Scope'])) models = { - u'auth.group': { + 'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) }, - u'auth.permission': { + 'auth.permission': { 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, - u'%s' % AUTH_USER_MODEL: { + '%s' % AUTH_USER_MODEL: { 'Meta': {'object_name': AUTH_USER_MODEL.split('.')[-1]}, 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), + 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) }, - u'contenttypes.contenttype': { + 'contenttypes.contenttype': { 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) }, - u'oauth_provider.consumer': { + 'oauth_provider.consumer': { 'Meta': {'object_name': 'Consumer'}, 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '256'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'secret': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), 'status': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['%s']" % AUTH_USER_MODEL, 'null': 'True', 'blank': 'True'}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['%s']" % AUTH_USER_MODEL, 'null': 'True', 'blank': 'True'}), 'xauth_allowed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) }, - u'RefactoringTool: Refactored ../python3/oauth_provider/south_migrations/0004_resource_to_scope.py oauth_provider.nonce': { + 'oauth_provider.nonce': { 'Meta': {'object_name': 'Nonce'}, 'consumer_key': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'timestamp': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}), 'token_key': ('django.db.models.fields.CharField', [], {'max_length': '32'}) }, - u'oauth_provider.scope': { + 'oauth_provider.scope': { 'Meta': {'object_name': 'Scope'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_readonly': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'url': ('django.db.models.fields.TextField', [], {'max_length': '2083'}) }, - u'oauth_provider.token': { + 'oauth_provider.token': { 'Meta': {'object_name': 'Token'}, 'callback': ('django.db.models.fields.CharField', [], {'max_length': '2083', 'null': 'True', 'blank': 'True'}), 'callback_confirmed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'consumer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['oauth_provider.Consumer']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'consumer': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oauth_provider.Consumer']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'scope': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['oauth_provider.Scope']", 'null': 'True', 'blank': 'True'}), + 'scope': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oauth_provider.Scope']", 'null': 'True', 'blank': 'True'}), 'secret': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), 'timestamp': ('django.db.models.fields.IntegerField', [], {'default': '1382376977L'}), 'token_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'tokens'", 'null': 'True', 'to':u"orm['%s']" % AUTH_USER_MODEL}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'tokens'", 'null': 'True', 'to':"orm['%s']" % AUTH_USER_MODEL}), 'verifier': ('django.db.models.fields.CharField', [], {'max_length': '10'}) }, } --- ../python3/oauth_provider/south_migrations/0004_resource_to_scope.py (original) +++ ../python3/oauth_provider/south_migrations/0004_resource_to_scope.py (refactored) @@ -9,91 +9,91 @@ class Migration(SchemaMigration): def forwards(self, orm): - db.rename_table(u'oauth_provider_resource', u'oauth_provider_scope') - db.rename_column(u'oauth_provider_token', u'resource_id', u'scope_id') - db.send_create_signal(u'oauth_provider', [u'Scope']) + db.rename_table('oauth_provider_resource', 'oauth_provider_scope') + db.rename_column('oauth_provider_token', 'resource_id', 'scope_id') + db.send_create_signal('oauth_provider', ['Scope']) def backwards(self, orm): - db.rename_table(u'oauth_provider_scope', u'oauth_provider_resource') - db.rename_column(u'oauth_provider_token', u'scope_id', u'resource_id') - db.send_create_signal(u'oauth_provider', [u'Resource']) + db.rename_table('oauth_provider_scope', 'oauth_provider_resource') + db.rename_column('oauth_provider_token', 'scope_id', 'resource_id') + db.send_create_signal('oauth_provider', ['Resource']) models = { - u'auth.group': { + 'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) }, - u'auth.permission': { + 'auth.permission': { 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, - u'%s' % AUTH_USER_MODEL: { + '%s' % AUTH_USER_MODEL: { 'Meta': {'object_name': AUTH_USER_MODEL.split('.')[-1]}, 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), + 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) }, - u'contenttypes.contenttype': { + 'contenttypes.contenttype': { 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) }, - u'oauth_provider.consumer': { + 'oauth_provider.consumer': { 'Meta': {'object_name': 'Consumer'}, 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '256'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'secret': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), 'status': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['%s']" % AUTH_USER_MODEL, 'null': 'True', 'blank': 'True'}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['%s']" % AUTH_USER_MODEL, 'null': 'True', 'blank': 'True'}), 'xauth_allowed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) }, - u'oauth_provider.nonce': { + 'oauth_provider.nonce': { 'Meta': {'object_name': 'Nonce'}, 'consumer_key': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'timestamp': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}), 'token_key': ('django.db.models.fields.CharField', [], {'max_length': '32'}) }, - u'oauth_provider.scope': { + 'oauth_provider.scope': { 'Meta': {'object_name': 'Scope'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_readonly': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'url': ('django.db.models.fields.TextField', [], {'max_length': '2083'}) }, - u'oauth_provider.token': { + 'oauth_provider.token': { 'Meta': {'object_name': 'Token'}, 'callback': ('django.db.models.fields.CharField', [], {'max_length': '2083', 'null': 'True', 'blank': 'True'}), 'callback_confirmed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'consumer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['oauth_provider.Consumer']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'consumer': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oauth_provider.Consumer']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'scope': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['oauth_provider.Scope']"}), + 'scope': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oauth_pRefactoringTool: Refactored ../python3/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py rovider.Scope']"}), 'secret': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), 'timestamp': ('django.db.models.fields.IntegerField', [], {'default': '1382371788L'}), 'token_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'tokens'", 'null': 'True', 'to': u"orm['%s']" % AUTH_USER_MODEL}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'tokens'", 'null': 'True', 'to': "orm['%s']" % AUTH_USER_MODEL}), 'verifier': ('django.db.models.fields.CharField', [], {'max_length': '10'}) }, } --- ../python3/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py (original) +++ ../python3/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py (refactored) @@ -10,92 +10,92 @@ def forwards(self, orm): # Adding field 'Nonce.timestamp' - db.add_column(u'oauth_provider_nonce', 'timestamp', + db.add_column('oauth_provider_nonce', 'timestamp', self.gf('django.db.models.fields.PositiveIntegerField')(default=1375699511, db_index=True), keep_default=False) def backwards(self, orm): # Deleting field 'Nonce.timestamp' - db.delete_column(u'oauth_provider_nonce', 'timestamp') + db.delete_column('oauth_provider_nonce', 'timestamp') models = { - u'auth.group': { + 'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) }, - u'auth.permission': { + 'auth.permission': { 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, - u'%s' % AUTH_USER_MODEL: { + '%s' % AUTH_USER_MODEL: { 'Meta': {'object_name': AUTH_USER_MODEL.split('.')[-1]}, 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), + 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) }, - u'contenttypes.contenttype': { + 'contenttypes.contenttype': { 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) }, - u'oauth_provider.consumer': { + 'oauth_provider.consumer': { 'Meta': {'object_name': 'Consumer'}, 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '256'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'secret': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), 'status': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['%s']" % AUTH_USER_MODEL, 'null': 'True', 'blank': 'True'}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['%s']" % AUTH_USER_MODEL, 'null': 'True', 'blank': 'True'}), 'xauth_allowed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) }, - u'oauth_provider.nonce': { + 'oauth_provider.nonce': { 'Meta': {'object_name': 'Nonce'}, 'consumer_key': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'timestamp': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}), 'token_key': ('django.db.models.fields.CharField', [], {'max_length': '32'}) }, - u'oauth_provider.resource': { + 'oauth_provider.resource': { 'Meta': {'object_name': 'Resource'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_readonly': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'url': ('django.db.models.fRefactoringTool: No changes to ../python3/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py RefactoringTool: Refactored ../python3/oauth_provider/south_migrations/0001_initial.py RefactoringTool: No changes to ../python3/oauth_provider/runtests/urls.py RefactoringTool: No changes to ../python3/oauth_provider/runtests/settings.py RefactoringTool: Refactored ../python3/oauth_provider/runtests/runtests.py RefactoringTool: Refactored ../python3/oauth_provider/runtests/manage.py RefactoringTool: No changes to ../python3/oauth_provider/responses.py RefactoringTool: Refactored ../python3/oauth_provider/models.py ields.TextField', [], {'max_length': '2083'}) }, - u'oauth_provider.token': { + 'oauth_provider.token': { 'Meta': {'object_name': 'Token'}, 'callback': ('django.db.models.fields.CharField', [], {'max_length': '2083', 'null': 'True', 'blank': 'True'}), 'callback_confirmed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'consumer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['oauth_provider.Consumer']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'consumer': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oauth_provider.Consumer']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'resource': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['oauth_provider.Resource']"}), + 'resource': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oauth_provider.Resource']"}), 'secret': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), 'timestamp': ('django.db.models.fields.IntegerField', [], {'default': '1375699483L'}), 'token_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'tokens'", 'null': 'True', 'to': u"orm['%s']" % AUTH_USER_MODEL}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'tokens'", 'null': 'True', 'to': "orm['%s']" % AUTH_USER_MODEL}), 'verifier': ('django.db.models.fields.CharField', [], {'max_length': '10'}) } } --- ../python3/oauth_provider/south_migrations/0001_initial.py (original) +++ ../python3/oauth_provider/south_migrations/0001_initial.py (refactored) @@ -52,7 +52,7 @@ ('key', self.gf('django.db.models.fields.CharField')(max_length=32, null=True, blank=True)), ('secret', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True)), ('token_type', self.gf('django.db.models.fields.SmallIntegerField')()), - ('timestamp', self.gf('django.db.models.fields.IntegerField')(default=1327884735L)), + ('timestamp', self.gf('django.db.models.fields.IntegerField')(default=1327884735)), ('is_approved', self.gf('django.db.models.fields.BooleanField')(default=False)), ('user', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='tokens', null=True, to=orm[AUTH_USER_MODEL])), ('consumer', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['oauth_provider.Consumer'])), --- ../python3/oauth_provider/runtests/runtests.py (original) +++ ../python3/oauth_provider/runtests/runtests.py (refactored) @@ -38,7 +38,7 @@ elif len(sys.argv) == 1: test_case = '' else: - print(usage()) + print((usage())) sys.exit(1) patch_for_test_db_setup() --- ../python3/oauth_provider/runtests/manage.py (original) +++ ../python3/oauth_provider/runtests/manage.py (refactored) @@ -6,7 +6,7 @@ from django.core.management import execute_manager try: - import settings # Assumed to be in the same directory. + from . import settings # Assumed to be in the same directory. except ImportError: import sys sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__) --- ../python3/oauth_provider/models.py (original) +++ ../python3/oauRefactoringTool: Refactored ../python3/oauth_provider/migrations/0001_initial.py RefactoringTool: No changes to ../python3/oauth_provider/managers.py RefactoringTool: Refactored ../python3/oauth_provider/decorators.py th_provider/models.py (refactored) @@ -1,6 +1,6 @@ import uuid -import urllib -import urlparse +import urllib.request, urllib.parse, urllib.error +import urllib.parse from time import time import warnings import oauth2 as oauth @@ -20,7 +20,7 @@ timestamp = models.PositiveIntegerField(db_index=True) def __unicode__(self): - return u"Nonce %s for %s" % (self.key, self.consumer_key) + return "Nonce %s for %s" % (self.key, self.consumer_key) class Scope(models.Model): @@ -29,7 +29,7 @@ is_readonly = models.BooleanField(default=True) def __unicode__(self): - return u"Resource %s with url %s" % (self.name, self.url) + return "Resource %s with url %s" % (self.name, self.url) class Resource(Scope): @@ -54,7 +54,7 @@ xauth_allowed = models.BooleanField("Allow xAuth", default = False) def __unicode__(self): - return u"Consumer %s with key %s" % (self.name, self.key) + return "Consumer %s with key %s" % (self.name, self.key) def generate_random_codes(self): """ @@ -67,13 +67,13 @@ def default_token_timestamp(): - return long(time()) + return int(time()) class Token(models.Model): REQUEST = 1 ACCESS = 2 - TOKEN_TYPES = ((REQUEST, u'Request'), (ACCESS, u'Access')) + TOKEN_TYPES = ((REQUEST, 'Request'), (ACCESS, 'Access')) key = models.CharField(max_length=KEY_SIZE, null=True, blank=True) secret = models.CharField(max_length=SECRET_SIZE, null=True, blank=True) @@ -101,7 +101,7 @@ objects = TokenManager() def __unicode__(self): - return u"%s Token %s for %s" % (self.get_token_type_display(), self.key, self.consumer) + return "%s Token %s for %s" % (self.get_token_type_display(), self.key, self.consumer) def to_string(self, only_key=False): token_dict = { @@ -116,7 +116,7 @@ del token_dict['oauth_token_secret'] del token_dict['oauth_callback_confirmed'] - return urllib.urlencode(token_dict) + return urllib.parse.urlencode(token_dict) def generate_random_codes(self): """ @@ -132,7 +132,7 @@ OAuth 1.0a, append the oauth_verifier. """ if self.callback and self.verifier: - parts = urlparse.urlparse(self.callback) + parts = urllib.parse.urlparse(self.callback) scheme, netloc, path, params, query, fragment = parts[:6] if query: query = '%s&oauth_verifier=%s' % (query, self.verifier) @@ -145,10 +145,10 @@ path = "?".join(path[:-1]) if args is not None: - query += "&%s" % urllib.urlencode(args) - return urlparse.urlunparse((scheme, netloc, path, params, + query += "&%s" % urllib.parse.urlencode(args) + return urllib.parse.urlunparse((scheme, netloc, path, params, query, fragment)) - args = args is not None and "?%s" % urllib.urlencode(args) or "" + args = args is not None and "?%s" % urllib.parse.urlencode(args) or "" return self.callback and self.callback + args def set_callback(self, callback): --- ../python3/oauth_provider/migrations/0001_initial.py (original) +++ ../python3/oauth_provider/migrations/0001_initial.py (refactored) @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals + from django.db import models, migrations from django.conf import settings --- ../python3/oauth_provider/decorators.py (original) +++ ../python3/oauth_provider/decorators.py (refactored) @@ -1,4 +1,5 @@ import oauth2 as oauth +import collections try: from functools import update_wrapper @@ -7,10 +8,10 @@ from django.utils.translation import ugettext as _ -from responses import INVALID_PARAMS_RESPONSE, INVALID_CONSUMER_RESPONSE, COULD_NOT_VERIFY_OAUTH_REQUEST_RESPONSE, INVALID_SCOPE_RESPONSE -from utils import initialize_server_request, send_oauth_error, get_oauth_request, verify_oauth_request -from consts import OAUTH_PARAMETERS_NARefactoringTool: No changes to ../python3/oauth_provider/consts.py RefactoringTool: No changes to ../python3/oauth_provider/compat.py RefactoringTool: Refactored ../python3/oauth_provider/backends.py RefactoringTool: Refactored ../python3/oauth_provider/admin.py RefactoringTool: No changes to ../python3/oauth_provider/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/oauth_provider/views.py RefactoringTool: ../python3/oauth_provider/utils.py RefactoringTool: ../python3/oauth_provider/urls.py RefactoringTool: ../python3/oauth_provider/tests/xauth.py RefactoringTool: ../python3/oauth_provider/tests/tests.py RefactoringTool: ../python3/oauth_provider/tests/protocol.py RefactoringTool: ../python3/oauth_provider/tests/issues.py RefactoringTool: ../python3/oauth_provider/tests/decorators.py RefactoringTool: ../python3/oauth_provider/tests/auth.py RefactoringTool: ../python3/oauth_provider/store/db.py RefactoringTool: ../python3/oauth_provider/store/__init__.py RefactoringTool: ../python3/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py RefactoringTool: ../python3/oauth_provider/south_migrations/0004_resource_to_scope.py RefactoringTool: ../python3/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py RefactoringTool: ../python3/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py RefactoringTool: ../python3/oauth_provider/south_migrations/0001_initial.py RefactoringTool: ../python3/oauth_provider/runtests/urls.py RefactoringTool: ../python3/oauth_provider/runtests/settings.py RefactoringTool: ../python3/oauth_provider/runtests/runtests.py RefactoringTool: ../python3/oauth_provider/runtests/manage.py RefactoringTool: ../python3/oauth_provider/responses.py RefactoringTool: ../python3/oauth_provider/models.py RefactoringTool: ../python3/oauth_provider/migrations/0001_initial.py RefactoringTool: ../python3/oauth_provider/managers.py RefactoringTool: ../python3/oauth_provider/decorators.py RefactoringTool: ../python3/oauth_provider/consts.py RefactoringTool: ../python3/oauth_provider/compat.py RefactoringTool: ../python3/oauth_provider/backends.py RefactoringTool: ../python3/oauth_provider/admin.py RefactoringTool: ../python3/oauth_provider/__init__.py MES -from store import store, InvalidTokenError, InvalidConsumerError +from .responses import INVALID_PARAMS_RESPONSE, INVALID_CONSUMER_RESPONSE, COULD_NOT_VERIFY_OAUTH_REQUEST_RESPONSE, INVALID_SCOPE_RESPONSE +from .utils import initialize_server_request, send_oauth_error, get_oauth_request, verify_oauth_request +from .consts import OAUTH_PARAMETERS_NAMES +from .store import store, InvalidTokenError, InvalidConsumerError from functools import wraps @@ -28,7 +29,7 @@ self.scope_name = scope_name def __new__(cls, arg=None): - if not callable(arg): + if not isinstance(arg, collections.Callable): return super(CheckOauth, cls).__new__(cls) else: obj = super(CheckOauth, cls).__new__(cls) --- ../python3/oauth_provider/backends.py (original) +++ ../python3/oauth_provider/backends.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- import django.core.validators -from compat import get_user_model +from .compat import get_user_model User = get_user_model() --- ../python3/oauth_provider/admin.py (original) +++ ../python3/oauth_provider/admin.py (refactored) @@ -1,6 +1,6 @@ from django.contrib import admin -from models import Scope, Consumer, Token +from .models import Scope, Consumer, Token class ScopeAdmin(admin.ModelAdmin): pass + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.43897 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-oauth-plus-2.2.5 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requires' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/oauth_provider copying oauth_provider/views.py -> build/lib/oauth_provider copying oauth_provider/utils.py -> build/lib/oauth_provider copying oauth_provider/urls.py -> build/lib/oauth_provider copying oauth_provider/responses.py -> build/lib/oauth_provider copying oauth_provider/models.py -> build/lib/oauth_provider copying oauth_provider/managers.py -> build/lib/oauth_provider copying oauth_provider/forms.py -> build/lib/oauth_provider copying oauth_provider/decorators.py -> build/lib/oauth_provider copying oauth_provider/consts.py -> build/lib/oauth_provider copying oauth_provider/compat.py -> build/lib/oauth_provider copying oauth_provider/backends.py -> build/lib/oauth_provider copying oauth_provider/admin.py -> build/lib/oauth_provider copying oauth_provider/__init__.py -> build/lib/oauth_provider creating build/lib/oauth_provider/tests copying oauth_provider/tests/xauth.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/tests.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/protocol.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/models.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/issues.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/decorators.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/compat.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/auth.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/__init__.py -> build/lib/oauth_provider/tests creating build/lib/oauth_provider/store copying oauth_provider/store/db.py -> build/lib/oauth_provider/store copying oauth_provider/store/__init__.py -> build/lib/oauth_provider/store creating build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/__init__.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0004_resource_to_scope.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0001_initial.py -> build/lib/oauth_provider/south_migrations creating build/lib/oauth_provider/runtests copying oauth_provider/runtests/urls.py -> build/lib/oauth_provider/runtests copying oauth_provider/runtests/settings.py -> build/lib/oauth_provider/runtests copying oauth_provider/runtests/runtests.py -> build/lib/oauth_provider/runtests copying oauth_provider/runtests/manage.py -> build/lib/oauth_provider/runtests copying oauth_provider/runtests/__init__.py -> build/lib/oauth_provider/runtests creating build/lib/oauth_provider/migrations copying oauth_provider/migrations/__init__.py -> build/lib/oauth_provider/migrations copying oauth_provider/migrations/0001_initial.py -> build/lib/oauth_provider/migrations creating build/lib/oauth_provider/runtests/test_app copying oauth_provider/runtests/test_app/models.py -> build/lib/oauth_provider/runtests/test_app copying oauth_provider/runtests/test_app/__init__.py -> build/lib/oauth_provider/runtests/test_app running egg_info writing requirements to django_oauth_plus.egg-info/requires.txt writing django_oauth_plus.egg-info/PKG-INFO writing top-level names to django_oauth_plus.egg-info/top_level.txt writing dependency_links to django_oauth_plus.egg-info/dependency_links.txt reading manifest file 'django_oauth_plus.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' writing manifest file 'django_oauth_plus.egg-info/SOURCES.txt' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-oauth-plus-2.2.5 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/oauth_provider copying oauth_provider/views.py -> build/lib/oauth_provider copying oauth_provider/utils.py -> build/lib/oauth_provider copying oauth_provider/urls.py -> build/lib/oauth_provider copying oauth_provider/responses.py -> build/lib/oauth_provider copying oauth_provider/models.py -> build/lib/oauth_provider copying oauth_provider/managers.py -> build/lib/oauth_provider copying oauth_provider/forms.py -> build/lib/oauth_provider copying oauth_provider/decorators.py -> build/lib/oauth_provider copying oauth_provider/consts.py -> build/lib/oauth_provider copying oauth_provider/compat.py -> build/lib/oauth_provider copying oauth_provider/backends.py -> build/lib/oauth_provider copying oauth_provider/admin.py -> build/lib/oauth_provider copying oauth_provider/__init__.py -> build/lib/oauth_provider creating build/lib/oauth_provider/tests copying oauth_provider/tests/xauth.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/tests.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/protocol.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/models.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/issues.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/decorators.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/compat.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/auth.py -> build/lib/oauth_provider/tests copying oauth_provider/tests/__init__.py -> build/lib/oauth_provider/tests creating build/lib/oauth_provider/store copying oauth_provider/store/db.py -> build/lib/oauth_provider/store copying oauth_provider/store/__init__.py -> build/lib/oauth_provider/store creating build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/__init__.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0004_resource_to_scope.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py -> build/lib/oauth_provider/south_migrations copying oauth_provider/south_migrations/0001_initial.py -> build/lib/oauth_provider/south_migrations creating build/lib/oauth_provider/runtests copying oauth_provider/runtests/urls.py -> build/lib/oauth_provider/runtests copying oauth_provider/runtests/settings.py -> build/lib/oauth_provider/runtests copying oauth_provider/runtests/runtests.py -> build/lib/oauth_provider/runtests copying oauth_provider/runtests/manage.py -> build/lib/oauth_provider/runtests copying oauth_provider/runtests/__init__.py -> build/lib/oauth_provider/runtests creating build/lib/oauth_provider/migrations copying oauth_provider/migrations/__init__.py -> build/lib/oauth_provider/migrations copying oauth_provider/migrations/0001_initial.py -> build/lib/oauth_provider/migrations creating build/lib/oauth_provider/runtests/test_app copying oauth_provider/runtests/test_app/models.py -> build/lib/oauth_provider/runtests/test_app copying oauth_provider/runtests/test_app/__init__.py -> build/lib/oauth_provider/runtests/test_app running egg_info writing top-level names to django_oauth_plus.egg-info/top_level.txt writing requirements to django_oauth_plus.egg-info/requires.txt writing django_oauth_plus.egg-info/PKG-INFO writing dependency_links to django_oauth_plus.egg-info/dependency_links.txt reading manifest file 'django_oauth_plus.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' /usr/lib64/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_requires' warnings.warn(msg) warning: no files found matching '*.md' writing manifest file 'django_oauth_plus.egg-info/SOURCES.txt' + popd ~/RPM/BUILD/python-module-django-oauth-plus-2.2.5 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.43897 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-django-oauth-plus-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-django-oauth-plus-buildroot + cd python-module-django-oauth-plus-2.2.5 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-django-oauth-plus-buildroot --force /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requires' warnings.warn(msg) running install running install_lib creating /usr/src/tmp/python-module-django-oauth-plus-buildroot creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations copying build/lib/oauth_provider/migrations/0001_initial.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations copying build/lib/oauth_provider/migrations/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app copying build/lib/oauth_provider/runtests/test_app/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app copying build/lib/oauth_provider/runtests/test_app/models.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app copying build/lib/oauth_provider/runtests/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests copying build/lib/oauth_provider/runtests/manage.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests copying build/lib/oauth_provider/runtests/runtests.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests copying build/lib/oauth_provider/runtests/settings.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests copying build/lib/oauth_provider/runtests/urls.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0001_initial.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0004_resource_to_scope.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store copying build/lib/oauth_provider/store/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store copying build/lib/oauth_provider/store/db.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/auth.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/compat.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/decorators.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/issues.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/models.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/protocol.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/tests.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/xauth.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests copying build/lib/oauth_provider/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/admin.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/backends.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/compat.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/consts.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/decorators.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/forms.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/managers.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/models.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/responses.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/urls.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/utils.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider copying build/lib/oauth_provider/views.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations/0001_initial.py to 0001_initial.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/models.py to models.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/manage.py to manage.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/runtests.py to runtests.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/settings.py to settings.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/urls.py to urls.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0001_initial.py to 0001_initial.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py to 0002_auto__add_field_consumer_xauth_allowed.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py to 0003_auto__add_field_nonce_timestamp.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.py to 0004_resource_to_scope.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py to 0005_auto__chg_field_token_scope.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store/db.py to db.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/auth.py to auth.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/compat.py to compat.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/decorators.py to decorators.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/issues.py to issues.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/models.py to models.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/protocol.py to protocol.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/tests.py to tests.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/xauth.py to xauth.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/admin.py to admin.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/backends.py to backends.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/compat.py to compat.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/consts.py to consts.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/decorators.py to decorators.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/forms.py to forms.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/managers.py to managers.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/models.py to models.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/responses.py to responses.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/urls.py to urls.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/utils.py to utils.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/views.py to views.pyc running install_egg_info running egg_info writing requirements to django_oauth_plus.egg-info/requires.txt writing django_oauth_plus.egg-info/PKG-INFO writing top-level names to django_oauth_plus.egg-info/top_level.txt writing dependency_links to django_oauth_plus.egg-info/dependency_links.txt reading manifest file 'django_oauth_plus.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' writing manifest file 'django_oauth_plus.egg-info/SOURCES.txt' Copying django_oauth_plus.egg-info to /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/django_oauth_plus-2.2.5-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-oauth-plus-2.2.5 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-django-oauth-plus-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations copying build/lib/oauth_provider/migrations/0001_initial.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations copying build/lib/oauth_provider/migrations/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app copying build/lib/oauth_provider/runtests/test_app/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app copying build/lib/oauth_provider/runtests/test_app/models.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app copying build/lib/oauth_provider/runtests/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests copying build/lib/oauth_provider/runtests/manage.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests copying build/lib/oauth_provider/runtests/runtests.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests copying build/lib/oauth_provider/runtests/settings.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests copying build/lib/oauth_provider/runtests/urls.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0001_initial.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0004_resource_to_scope.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations copying build/lib/oauth_provider/south_migrations/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store copying build/lib/oauth_provider/store/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store copying build/lib/oauth_provider/store/db.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store creating /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/auth.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/compat.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/decorators.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/issues.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/models.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/protocol.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/tests.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/tests/xauth.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests copying build/lib/oauth_provider/__init__.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/admin.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/backends.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/compat.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/consts.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/decorators.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/forms.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/managers.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/models.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/responses.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/urls.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/utils.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider copying build/lib/oauth_provider/views.py -> /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/0001_initial.py to 0001_initial.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/models.py to models.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/manage.py to manage.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/runtests.py to runtests.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/settings.py to settings.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/urls.py to urls.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0001_initial.py to 0001_initial.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py to 0002_auto__add_field_consumer_xauth_allowed.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py to 0003_auto__add_field_nonce_timestamp.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.py to 0004_resource_to_scope.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py to 0005_auto__chg_field_token_scope.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/db.py to db.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/auth.py to auth.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/compat.py to compat.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/decorators.py to decorators.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/issues.py to issues.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/models.py to models.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/protocol.py to protocol.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/tests.py to tests.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/xauth.py to xauth.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/admin.py to admin.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/backends.py to backends.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/compat.py to compat.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/consts.py to consts.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/decorators.py to decorators.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/forms.py to forms.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/managers.py to managers.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/models.py to models.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/responses.py to responses.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/urls.py to urls.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/utils.py to utils.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/views.py to views.cpython-35.pyc running install_egg_info running egg_info writing requirements to django_oauth_plus.egg-info/requires.txt writing dependency_links to django_oauth_plus.egg-info/dependency_links.txt writing top-level names to django_oauth_plus.egg-info/top_level.txt writing django_oauth_plus.egg-info/PKG-INFO reading manifest file 'django_oauth_plus.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' /usr/lib64/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_requires' warnings.warn(msg) warning: no files found matching '*.md' writing manifest file 'django_oauth_plus.egg-info/SOURCES.txt' Copying django_oauth_plus.egg-info to /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/django_oauth_plus-2.2.5-py3.5.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-django-oauth-plus-2.2.5 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-django-oauth-plus-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-django-oauth-plus-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-django-oauth-plus-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-django-oauth-plus-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-django-oauth-plus-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-django-oauth-plus-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations/0001_initial.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations/__init__.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations/__init__.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/__init__.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/models.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/models.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/__init__.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/manage.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/runtests.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/settings.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/urls.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/manage.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/runtests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/settings.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/urls.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0001_initial.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/__init__.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/__init__.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store/__init__.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store/db.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store/db.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/__init__.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/auth.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/compat.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/decorators.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/issues.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/models.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/protocol.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/tests.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/xauth.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/auth.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/issues.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/protocol.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/tests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/xauth.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/__init__.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/admin.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/backends.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/compat.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/consts.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/decorators.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/forms.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/managers.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/models.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/responses.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/urls.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/utils.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/views.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/admin.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/backends.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/consts.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/forms.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/managers.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/responses.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/urls.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/utils.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/views.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-django-oauth-plus-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/migrations/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/manage.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/runtests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/settings.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/runtests/urls.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/south_migrations/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/store/db.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/auth.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/issues.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/protocol.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/tests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/tests/xauth.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/admin.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/backends.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/consts.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/forms.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/managers.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/responses.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/urls.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/utils.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python2.7/site-packages/oauth_provider/views.py Bytecompiling python3 modules in /usr/src/tmp/python-module-django-oauth-plus-buildroot using python3 unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/admin.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/backends.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/compat.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/consts.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/decorators.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/forms.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/managers.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/models.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/responses.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/urls.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/utils.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__pycache__/views.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/0001_initial.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/__init__.cpython-35.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/__init__.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/manage.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/runtests.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/settings.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/urls.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/models.cpython-35.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/manage.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/runtests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/settings.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/urls.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0001_initial.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0002_auto__add_field_consumer_xauth_allowed.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0003_auto__add_field_nonce_timestamp.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0004_resource_to_scope.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0005_auto__chg_field_token_scope.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/__init__.cpython-35.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__init__.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/__pycache__/db.cpython-35.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/db.py unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/auth.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/compat.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/decorators.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/issues.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/models.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/protocol.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/tests.cpython-35.pyc unlink /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/xauth.cpython-35.pyc compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/auth.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/issues.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/protocol.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/tests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/xauth.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/admin.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/backends.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/consts.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/forms.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/managers.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/responses.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/urls.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/utils.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/views.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-django-oauth-plus-buildroot using python3 -O compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/manage.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/runtests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/settings.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/urls.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/db.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/auth.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/issues.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/protocol.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/tests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/xauth.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/admin.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/backends.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/consts.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/forms.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/managers.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/responses.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/urls.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/utils.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/views.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-django-oauth-plus-buildroot using python3 -OO compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/migrations/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/test_app/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/manage.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/runtests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/settings.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/runtests/urls.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0001_initial.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/south_migrations/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/store/db.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/auth.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/issues.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/protocol.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/tests.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/tests/xauth.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/__init__.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/admin.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/backends.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/compat.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/consts.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/decorators.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/forms.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/managers.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/models.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/responses.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/urls.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/utils.py compile /usr/src/tmp/python-module-django-oauth-plus-buildroot/usr/lib/python3/site-packages/oauth_provider/views.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/oauth_provider/__pycache__/views.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/views.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/utils.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/utils.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/urls.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/urls.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/urls.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/urls.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/responses.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/responses.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/responses.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/responses.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/models.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/models.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/managers.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/managers.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/forms.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/forms.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/forms.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/forms.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/decorators.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/decorators.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/consts.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/consts.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/consts.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/consts.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/compat.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/compat.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/compat.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/compat.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/backends.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/backends.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/admin.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/admin.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/admin.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/admin.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/xauth.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/xauth.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/tests.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/tests.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/protocol.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/protocol.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/models.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/models.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/models.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/models.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/decorators.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/decorators.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/compat.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/compat.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/compat.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/compat.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/auth.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/auth.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/tests/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/store/__pycache__/db.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/store/__pycache__/db.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/store/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/store/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0005_auto__chg_field_token_scope.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0005_auto__chg_field_token_scope.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0005_auto__chg_field_token_scope.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0005_auto__chg_field_token_scope.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0004_resource_to_scope.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0004_resource_to_scope.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0004_resource_to_scope.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0004_resource_to_scope.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0003_auto__add_field_nonce_timestamp.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0003_auto__add_field_nonce_timestamp.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0003_auto__add_field_nonce_timestamp.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0003_auto__add_field_nonce_timestamp.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0002_auto__add_field_consumer_xauth_allowed.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0002_auto__add_field_consumer_xauth_allowed.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0002_auto__add_field_consumer_xauth_allowed.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0002_auto__add_field_consumer_xauth_allowed.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0001_initial.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0001_initial.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0001_initial.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/south_migrations/__pycache__/0001_initial.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/urls.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/urls.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/urls.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/urls.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/settings.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/settings.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/settings.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/settings.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/runtests.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/runtests.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/runtests.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/runtests.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/manage.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/manage.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/manage.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/manage.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/models.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/models.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/models.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/models.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/runtests/test_app/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/0001_initial.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/0001_initial.cpython-35.pyc' './usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/0001_initial.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/oauth_provider/migrations/__pycache__/0001_initial.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/oauth_provider/views.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/views.pyc' './usr/lib/python2.7/site-packages/oauth_provider/utils.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/utils.pyc' './usr/lib/python2.7/site-packages/oauth_provider/urls.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/urls.pyc' './usr/lib/python2.7/site-packages/oauth_provider/responses.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/responses.pyc' './usr/lib/python2.7/site-packages/oauth_provider/models.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/models.pyc' './usr/lib/python2.7/site-packages/oauth_provider/managers.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/managers.pyc' './usr/lib/python2.7/site-packages/oauth_provider/forms.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/forms.pyc' './usr/lib/python2.7/site-packages/oauth_provider/decorators.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/decorators.pyc' './usr/lib/python2.7/site-packages/oauth_provider/consts.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/consts.pyc' './usr/lib/python2.7/site-packages/oauth_provider/compat.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/compat.pyc' './usr/lib/python2.7/site-packages/oauth_provider/backends.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/backends.pyc' './usr/lib/python2.7/site-packages/oauth_provider/admin.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/admin.pyc' './usr/lib/python2.7/site-packages/oauth_provider/__init__.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/__init__.pyc' './usr/lib/python2.7/site-packages/oauth_provider/tests/tests.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/tests/tests.pyc' './usr/lib/python2.7/site-packages/oauth_provider/tests/protocol.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/tests/protocol.pyc' './usr/lib/python2.7/site-packages/oauth_provider/tests/models.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/tests/models.pyc' './usr/lib/python2.7/site-packages/oauth_provider/tests/decorators.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/tests/decorators.pyc' './usr/lib/python2.7/site-packages/oauth_provider/tests/compat.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/tests/compat.pyc' './usr/lib/python2.7/site-packages/oauth_provider/tests/auth.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/tests/auth.pyc' './usr/lib/python2.7/site-packages/oauth_provider/tests/__init__.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/tests/__init__.pyc' './usr/lib/python2.7/site-packages/oauth_provider/store/db.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/store/db.pyc' './usr/lib/python2.7/site-packages/oauth_provider/store/__init__.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/store/__init__.pyc' './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/__init__.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/__init__.pyc' './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0005_auto__chg_field_token_scope.pyc' './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0004_resource_to_scope.pyc' './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0003_auto__add_field_nonce_timestamp.pyc' './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0002_auto__add_field_consumer_xauth_allowed.pyc' './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0001_initial.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/south_migrations/0001_initial.pyc' './usr/lib/python2.7/site-packages/oauth_provider/runtests/urls.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/runtests/urls.pyc' './usr/lib/python2.7/site-packages/oauth_provider/runtests/settings.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/runtests/settings.pyc' './usr/lib/python2.7/site-packages/oauth_provider/runtests/runtests.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/runtests/runtests.pyc' './usr/lib/python2.7/site-packages/oauth_provider/runtests/manage.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/runtests/manage.pyc' './usr/lib/python2.7/site-packages/oauth_provider/runtests/__init__.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/runtests/__init__.pyc' './usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/models.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/models.pyc' './usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/__init__.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/runtests/test_app/__init__.pyc' './usr/lib/python2.7/site-packages/oauth_provider/migrations/__init__.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/migrations/__init__.pyc' './usr/lib/python2.7/site-packages/oauth_provider/migrations/0001_initial.pyo' => './usr/lib/python2.7/site-packages/oauth_provider/migrations/0001_initial.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.62332 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-oauth-plus-2.2.5 + python setup.py test /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requires' warnings.warn(msg) running test running egg_info deleting django_oauth_plus.egg-info/requires.txt writing django_oauth_plus.egg-info/PKG-INFO writing top-level names to django_oauth_plus.egg-info/top_level.txt writing dependency_links to django_oauth_plus.egg-info/dependency_links.txt reading manifest file 'django_oauth_plus.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' writing manifest file 'django_oauth_plus.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-oauth-plus-2.2.5 + python3 setup.py test running test running egg_info writing django_oauth_plus.egg-info/PKG-INFO writing top-level names to django_oauth_plus.egg-info/top_level.txt deleting django_oauth_plus.egg-info/requires.txt writing dependency_links to django_oauth_plus.egg-info/dependency_links.txt reading manifest file 'django_oauth_plus.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' /usr/lib64/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_requires' warnings.warn(msg) warning: no files found matching '*.md' writing manifest file 'django_oauth_plus.egg-info/SOURCES.txt' running build_ext Traceback (most recent call last): File "setup.py", line 37, in install_requires=install_requires, File "/usr/lib64/python3.5/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.5/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 151, in run self.with_project_on_sys_path(self.run_tests) File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 127, in with_project_on_sys_path func() File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 172, in run_tests testRunner=self._resolve_as_ep(self.test_runner), File "/usr/lib64/python3.5/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/usr/lib64/python3.5/unittest/main.py", line 124, in parseArgs self._do_discovery([]) File "/usr/lib64/python3.5/unittest/main.py", line 229, in _do_discovery self.test = loader.discover(self.start, self.pattern, self.top) File "/usr/lib64/python3.5/unittest/loader.py", line 341, in discover tests = list(self._find_tests(start_dir, pattern)) File "/usr/lib64/python3.5/unittest/loader.py", line 398, in _find_tests full_path, pattern, namespace) File "/usr/lib64/python3.5/unittest/loader.py", line 475, in _find_test_path tests = self.loadTestsFromModule(package, pattern=pattern) File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 36, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/oauth_provider/views.py", line 4, in from django.contrib.auth.decorators import login_required File "/usr/lib/python3/site-packages/django/contrib/auth/__init__.py", line 7, in from django.middleware.csrf import rotate_token File "/usr/lib/python3/site-packages/django/middleware/csrf.py", line 14, in from django.utils.cache import patch_vary_headers File "/usr/lib/python3/site-packages/django/utils/cache.py", line 26, in from django.core.cache import caches File "/usr/lib/python3/site-packages/django/core/cache/__init__.py", line 34, in if DEFAULT_CACHE_ALIAS not in settings.CACHES: File "/usr/lib/python3/site-packages/django/conf/__init__.py", line 48, in __getattr__ self._setup(name) File "/usr/lib/python3/site-packages/django/conf/__init__.py", line 42, in _setup % (desc, ENVIRONMENT_VARIABLE)) django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. error: Bad exit status from /usr/src/tmp/rpm-tmp.62332 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.62332 (%check) Command exited with non-zero status 1 4.35user 0.48system 0:05.87elapsed 82%CPU (0avgtext+0avgdata 34684maxresident)k 0inputs+0outputs (0major+171763minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-django-oauth-plus-2.2.5-alt1.1.1.src.rpm' failed. Command exited with non-zero status 1 12.15user 2.67system 0:17.76elapsed 83%CPU (0avgtext+0avgdata 123980maxresident)k 112inputs+0outputs (0major+385808minor)pagefaults 0swaps