File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 python -m pip install --upgrade pip
2121 pip install flake8 pytest
2222 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
23+ - name : Build mathlib
24+ run : |
25+ python setup.py build_ext --inplace
2326 - name : Lint with flake8
2427 run : |
2528 # stop the build if there are Python syntax errors or undefined names
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages , Extension
2- from uilib .fileIO import appVersionStr
32from Cython .Build import cythonize
43import numpy
54import multiprocessing
1211 build_ui = None # user won't have pyqt_distutils when deploying
1312 cmdclass = {}
1413
14+ try :
15+ from uilib .fileIO import appVersionStr
16+ except ImportError :
17+ print ('App version not available, defaulting to 0.0.0' )
18+ appVersionStr = '0.0.0'
19+
1520extensions = [
1621 Extension (
1722 "mathlib._find_perimeter_cy" , # Full module path
You can’t perform that action at this time.
0 commit comments