Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Windows builds

Maksim Rakitin edited this page Nov 12, 2018 · 5 revisions

How to build the project on MS Windows

Prepare the environment:

Conda env and the repo:

  • download & install miniconda, and create a Python env: conda create -p C:\py36 python=3.6 git -y
  • install the packaging dependencies: pip install setuptools wheels twine or conda install ...
  • git clone https://github.com/srwpy/srwpy

Compile SRWLIB:

  • > cd C:\Users\IEUser\src\srwpy\core\vc\
  • > msbuild SRWLIB.vcxproj /maxcpucount:%NUMBER_OF_PROCESSORS% -property:Configuration="Release";Platform="x64"

Compile the extension for Python:

  • > python setup.py bdist_wheel