Skip to content

build.py: Remove argh dependency - #107

Merged
tiennou merged 1 commit into
gitx:masterfrom
zertosh:no-argh
Jan 18, 2018
Merged

tiennou merged 1 commit into
gitx:masterfrom
zertosh:no-argh

Conversation

@zertosh

@zertosh zertosh commented Dec 25, 2017

Copy link
Copy Markdown
Contributor

This simplifies the build setup by removing external python dependencies. It eliminates this common problem: https://github.com/gitx/gitx/wiki/Build-instructions#no-module-named-argh

The functionality of the script remains the same. We replace argh with python's own argparse. And since argcomplete isn't used anywhere, we can also remove requirements.txt.

./Scripts/build.py build debug, ./Scripts/build.py build release, ./Scripts/build.py config debug and ./Scripts/build.py config release, all work.

@tiennou
tiennou merged commit ad13b37 into gitx:master Jan 18, 2018
@tiennou

tiennou commented Jan 18, 2018

Copy link
Copy Markdown
Contributor

Nice, thanks !

goneng added a commit to goneng/gitx that referenced this pull request Sep 21, 2026
Every GitX build runs libgit2's cmake build, which compiled a Clar test
suite that is never run, because the flag meant to switch it off stopped
matching libgit2's own option name at the 1.x rename.

- Move the objective-git pointer onto gitx/objective-git#108, which
  passes -DBUILD_TESTS:BOOL=OFF in place of the dead -DBUILD_CLAR:BOOL=OFF
  and cuts 471 of the 667 objects the build compiles.
- Take that fix alone rather than the current objective-git master, which
  has since moved on to unrelated work in gitx#107.
goneng pushed a commit to goneng/gitx that referenced this pull request Sep 22, 2026
It includes gitx#97 libgit2-build-reliability gitx#107 fix-merge-input-init-and-credential-accessor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants