File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #!/usr/bin/env python
1+ #!/usr/bin/env python3
22# -*- mode: python -*-
33#
44# Electrum - lightweight Bitcoin client
2323# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2424# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2525# SOFTWARE.
26- from __future__ import absolute_import
27- from __future__ import division
28- from __future__ import print_function
29- from __future__ import unicode_literals
30-
3126import os
3227import sys
3328import six
@@ -47,13 +42,6 @@ if jnius:
4742 jnius .detach ()
4843 threading .Thread .run = thread_check_run
4944
50- # monkeypatch unicode constructor for py3
51- # if six.PY3:
52- # import builtins
53- # builtins.unicode = str
54- # builtins.QString = str
55- # builtins.long = int
56-
5745script_dir = os .path .dirname (os .path .realpath (__file__ ))
5846is_bundle = getattr (sys , 'frozen' , False )
5947is_local = not is_bundle and os .path .exists (os .path .join (script_dir , "setup-release.py" ))
Original file line number Diff line number Diff line change 1- #!/usr/bin/env python2
1+ #!/usr/bin/env python3
22
33# python setup.py sdist --format=zip,gztar
44
1111
1212version = imp .load_source ('version' , 'lib/version.py' )
1313
14- if sys .version_info [:3 ] < (2 , 7 , 0 ):
15- sys .exit ("Error: Electrum requires Python version >= 2.7 .0..." )
14+ if sys .version_info [:3 ] < (3 , 4 , 0 ):
15+ sys .exit ("Error: Electrum requires Python version >= 3.4 .0..." )
1616
1717data_files = []
1818
3636 name = "Electrum" ,
3737 version = version .ELECTRUM_VERSION ,
3838 install_requires = [
39- 'pyaes' ,
39+ 'pyaes>=0.1a1 ' ,
4040 'ecdsa>=0.9' ,
4141 'pbkdf2' ,
4242 'requests' ,
Original file line number Diff line number Diff line change 11[tox]
2- envlist = py27
2+ envlist = py34
33
44[testenv]
55deps =
You can’t perform that action at this time.
0 commit comments