mcedit2源码构建记录(>=win10,x64)
推荐使用powershell7作为windows shell
- mcedit2 (github)
- clone
git clone --depth=1 --recurse-submodules https://github.com/mcedit/mcedit2
python2
-
python 2.7.9
(npmmirror)
https://cdn.npmmirror.com/binaries/python/2.7.9/python-2.7.9rc1.amd64.msi -
python2 path
$Env:Path = "{0};$($Env:Path)" -f "C:\Python27\;C:\Python27\Scripts"
pip & env
-
upgrade pip
wget -c https://bootstrap.pypa.io/pip/2.7/get-pip.py
or
python2 get-pip.py
(python2 -> python.exe,2.7.9) -
virtualenv
pip install virtualenv
dependecies
-
cd mcedit2 repo folder
cd mcedit2
-
venv
- create
python2 -m virtualenv venv
- activate
.\venv\Scripts\activate.ps1
- check
where.exe pip
,where.exe python
- create
-
Addition dependencies
- Install Microsoft Visual C++ Compiler for Python 2.7
-
Install Pip Dependencies
pip install -r .\requirements.txt