Skip to content

Commit 5f66527

Browse files
committed
Fixes import, linter and comments
Also adds sympy to ignore list: ``` Please install the mpmath package with a version >= 0.19 ```
1 parent e1680f5 commit 5f66527

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ci/constants.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ class TargetPython(Enum):
5757
'pyzmq',
5858
'secp256k1',
5959
'shapely',
60+
# mpmath package with a version >= 0.19 required
61+
'sympy',
6062
'twisted',
6163
'vlc',
6264
'websocket-client',
@@ -93,6 +95,8 @@ class TargetPython(Enum):
9395
'pyjnius', 'pyopenal',
9496
# SyntaxError: invalid syntax (Python2)
9597
'storm',
98+
# mpmath package with a version >= 0.19 required
99+
'sympy',
96100
'vlc',
97101
])
98102
# to be created via https://github.com/kivy/python-for-android/issues/1514
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11

2-
from pythonforandroid.toolchain import PythonRecipe
2+
from pythonforandroid.recipe import PythonRecipe
33

44

55
class SympyRecipe(PythonRecipe):
66
version = '1.1.1'
77
url = 'https://github.com/sympy/sympy/releases/download/sympy-{version}/sympy-{version}.tar.gz'
88

9-
# depends = [('python2', 'python3crystax'), 'setuptools']
109
depends = [('python2', 'python3crystax'), 'mpmath']
1110

1211
call_hostpython_via_targetpython = True
1312

1413
patches = ['fix_timeutils.patch', 'fix_pretty_print.patch']
1514

15+
1616
recipe = SympyRecipe()

0 commit comments

Comments
 (0)