to python3 and beyond

This commit is contained in:
Daniel Muyshond 2020-05-18 09:47:49 +02:00
parent b8fb525ab7
commit 7ead6e0555
3 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# passerelle-imio-ia-delib - passerelle connector to IA DELIB IMIO PRODUCTS.
# Copyright (C) 2016 Entr'ouvert
@ -172,4 +172,4 @@ class IImioIaDelib(BaseResource):
creationData))
return new_point
else:
raise ValueError('createItem : request body!')
raise ValueError("createItem : request body!")

View File

@ -1,3 +1,6 @@
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# Passerelle - uniform access to data and services
# Copyright (C) 2015 Entr'ouvert
#
@ -19,8 +22,8 @@
import requests
import StringIO
from io import StringIO
from suds.client import Client
from suds.transport.http import HttpAuthenticated
from suds.transport import Reply

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import glob
@ -7,6 +7,7 @@ import re
import subprocess
import sys
from io import open
from setuptools.command.install_lib import install_lib as _install_lib
from distutils.command.build import build as _build
from distutils.command.sdist import sdist
@ -42,7 +43,7 @@ def get_version():
class compile_translations(Command):
description = 'compile message catalogs to MO files via django compilemessages'
description = u'compile message catalogs to MO files via django compilemessages'
user_options = []
def initialize_options(self):
@ -92,6 +93,7 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3.5.3',
],
install_requires=['django>=1.7, <1.8',
],