Skip to content

Latest commit

 

History

History

README.md

Introduction

sciencemode_cffi is a python wrapper for the sciencemode library.

This python library was tested on Windows 64bit together with Anaconda Python.

This library is using cffi.

Preparation

Unzip the correct version of the smpt library and copy the lib and include directories into the smpt directory. On Windows, smpt_rm3_msvc2015_x86_amd64_static should be used.

How to build for Windows

Mingw 5.3 from Qt needs to be installed in C:\Qt\Tools\mingw530_32. Visual studio compiler needs also be installed.

Building the wheel

Test if the package is build with

python setup.py bdist_wheel --universal

Create a wheel with

python setup.py bdist_wheel --universal

Installing the wheel

You may correct the filename, check that the python version is matching the version in the filename. E.g. for python 3.9, the following version is valid:

pip install dist/sciencemode3_cffi-1.0.0-cp39-cp39-win_amd64.whl