Re: Update Windows binaries



I tried again building without pywin32 and its definitely not required while building with msvc-built python 
on appveyour.

There is only warning
running build_exe
creating directory build\exe.win32-3.4
copying C:\Python34\lib\site-packages\cx_Freeze\bases\Win32GUI.exe -> build\exe.win32-3.4\Meld.exe
copying C:\windows\SYSTEM32\python34.dll -> build\exe.win32-3.4\python34.dll
*** WARNING *** unable to create version resource
install pywin32 extensions first
writing zip file build\exe.win32-3.4\python34.zip

The full log is available at (note, it's huge!) 
https://ci.appveyor.com/project/galkinvv/meld-ljlj2?fullLog=true
(see below for yml file link).

By the way, about direct building from gitlab - preclone red errors in the log above are caused by using 
"direct branch building" from Gnome gitlab
that was done by setting the "Custom configuration .yml file name" to direct link
https://gitlab.gnome.org/galkinvv/meld/raw/meld-3-18-appveyour-experiments/appveyor.yml

So there is at least two minor issues with direct building from Gnome gitlab with current appveyor: 
-build versioning issue (Preclone red error)
-and explicit branch setting in path to appveyour.yml

I didn't test automated building on commit.

Are you sure

pywin32 isn't required? When I edited the site-packages list, it wouldn't let me run the bdist_msi command

bash -lc 'cd "%APPVEYOR_BUILD_FOLDER%" && sed --in-place --regexp-extended 
"s/site.getsitepackages\(\)\[1\]/site.getsitepackages()[-1]/" setup_win32.py'

bash -lc 'cd "%APPVEYOR_BUILD_FOLDER%" && glib-compile-schemas data && python3 setup_win32.py bdist_msi'

usage: setup_win32.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

or: setup_win32.py --help [cmd1 cmd2 ...]

or: setup_win32.py --help-commands

or: setup_win32.py cmd --help

error: invalid command 'bdist_msi'

On Sat, Apr 28, 2018 at 4:06 PM, Vasily Galkin <galkin-vv yandex ru> wrote:

Once I take out pypiwin32, then I run into the same issue as reported in the "Building MSI package under 
MSYS" thread

bash -lc 'cd "%APPVEYOR_BUILD_FOLDER%" && glib-compile-schemas data && python3 setup_win32.py bdist_msi'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]