File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ APIISSUER ?= 5f3b4519-83ae-4e01-8d31-f7db26f68290
2020APIKEY ?= 5H98J7LKPC
2121
2222# PY[3] is the target Python interpreter. It must have pytest installed.
23- PY3 ?= python3
23+ PY3 ?= $( shell which python3 2>/dev/null && echo python3 || echo python )
2424
25- VERSION = $(shell $(PY3 ) -c 'exec(open("slip39/version.py") .read()); print( __version__ )')
25+ VERSION = $(shell $(PY3 ) -c 'exec(open("slip39/version.py") .read()); print( __version__ )')
2626
2727# To see all pytest output, uncomment --capture=no
2828PYTESTOPTS = -vv # --capture=no --log-cli-level=INFO
Original file line number Diff line number Diff line change 1- from setuptools import setup
1+ #from setuptools import setup
2+ from cx_Freeze import setup , Executable
23
34import os
45import sys
56import glob
67import fnmatch
78
9+ #build_exe_options = { "packages": ["os"], "excludes": [] }
10+
11+ # cx_Freeze executable options
12+ base = None
13+ if sys .platform == 'win32' :
14+ base = "Win32GUI"
15+ executables = [ Executable ( "SLIP-39.py" , base = base ) ]
16+
817HERE = os .path .dirname ( os .path .abspath ( __file__ ))
918
1019# Must work if setup.py is run in the source distribution context, or from
244253 url = "https://github.com/pjkundert/python-slip39" ,
245254 classifiers = classifiers ,
246255 python_requires = ">=3.9" ,
256+ executables = executables ,
247257 #**extra_options
248258)
Original file line number Diff line number Diff line change 11import os
22import logging
3- import pty
43import threading
54
65import pytest
76
87try :
8+ import pty
99 from serial import Serial
1010except ImportError :
1111 Serial = None
You can’t perform that action at this time.
0 commit comments