mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
wipe cache
This commit is contained in:
2
.github/actions/macos-install.sh
vendored
2
.github/actions/macos-install.sh
vendored
@@ -7,7 +7,7 @@ export distpath="dist/"
|
|||||||
export gampath="${distpath}gam"
|
export gampath="${distpath}gam"
|
||||||
rm -rf $gampath
|
rm -rf $gampath
|
||||||
export specfile="gam.spec"
|
export specfile="gam.spec"
|
||||||
$python -OO -m PyInstaller --clean --noupx --strip --distpath "${gampath}" --target-architecture $PLATFORM "${specfile}"
|
$python -OO -m PyInstaller --distpath "${gampath}" "${specfile}"
|
||||||
export gam="${gampath}/gam"
|
export gam="${gampath}/gam"
|
||||||
$gam version extended
|
$gam version extended
|
||||||
export GAMVERSION=`$gam version simple`
|
export GAMVERSION=`$gam version simple`
|
||||||
|
|||||||
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@@ -18,7 +18,7 @@ env:
|
|||||||
MIN_OPENSSL_VERSION: "1.1.1l"
|
MIN_OPENSSL_VERSION: "1.1.1l"
|
||||||
PATCHELF_VERSION: "0.13"
|
PATCHELF_VERSION: "0.13"
|
||||||
# PYINSTALLER_VERSION can be full commit hash or version like v4.20
|
# PYINSTALLER_VERSION can be full commit hash or version like v4.20
|
||||||
PYINSTALLER_VERSION: "6eae2c7cf93a968ddc054339e0cb3063f90d0e64"
|
PYINSTALLER_VERSION: "41842f5ad31dd33d7ba4ae03daace2287c80dcb7"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -161,14 +161,19 @@ jobs:
|
|||||||
echo "pip=$pip" >> $GITHUB_ENV
|
echo "pip=$pip" >> $GITHUB_ENV
|
||||||
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
|
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
|
||||||
echo -e "Python: $python\nPip: $pip\nLD_LIB...: $LD_LIBRARY_PATH"
|
echo -e "Python: $python\nPip: $pip\nLD_LIB...: $LD_LIBRARY_PATH"
|
||||||
$pip install --upgrade pip
|
if [ $GAMOS == "macos" ]; then
|
||||||
$pip install wheel
|
#export pipoptions='--no-binary ":all:"'
|
||||||
|
export MACOSX_DEPLOYMENT_TARGET="10.9"
|
||||||
|
export CFLAGS="-arch arm64 -arch x86_64"
|
||||||
|
fi
|
||||||
|
$pip install --upgrade pip $pipoptions
|
||||||
|
$pip install wheel $pipoptions
|
||||||
export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_VERSION}"
|
export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_VERSION}"
|
||||||
echo "Downloading ${url}"
|
echo "Downloading ${url}"
|
||||||
curl -o pyinstaller.tar.gz --compressed "${url}"
|
curl -o pyinstaller.tar.gz --compressed "${url}"
|
||||||
tar xf pyinstaller.tar.gz
|
tar xf pyinstaller.tar.gz
|
||||||
cd "pyinstaller-${PYINSTALLER_VERSION}/"
|
cd "pyinstaller-${PYINSTALLER_VERSION}/"
|
||||||
if [ $GAMOS == "windows" ]; then
|
if [ $GAMOS != "linux" ]; then
|
||||||
# remove pre-compiled bootloaders so we fail if bootloader compile fails
|
# remove pre-compiled bootloaders so we fail if bootloader compile fails
|
||||||
rm -rf PyInstaller/bootloader/*bit
|
rm -rf PyInstaller/bootloader/*bit
|
||||||
cd bootloader
|
cd bootloader
|
||||||
@@ -188,9 +193,13 @@ jobs:
|
|||||||
if: matrix.os != 'self-hosted'
|
if: matrix.os != 'self-hosted'
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
$pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 $pip install -U --force-reinstall
|
if [ $GAMOS == "macos" ]; then
|
||||||
|
#export pipoptions='--no-binary ":all:"'
|
||||||
$pip install --upgrade -r requirements.txt
|
export MACOSX_DEPLOYMENT_TARGET="10.9"
|
||||||
|
export CFLAGS="-arch arm64 -arch x86_64"
|
||||||
|
fi
|
||||||
|
$pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 $pip install -U --force-reinstall $pipoptions
|
||||||
|
$pip install --upgrade -r requirements.txt $pipoptions
|
||||||
|
|
||||||
- name: Build GAM with PyInstaller
|
- name: Build GAM with PyInstaller
|
||||||
if: matrix.goal != 'test'
|
if: matrix.goal != 'test'
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -1,4 +1,4 @@
|
|||||||
GAM is a command line tool for Google Workspace (fka G Suite) Administrators to manage domain and user settings quickly and easily.
|
GAM is a command line tool for Google Workspace admins to manage domain and user settings quickly and easily.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -14,14 +14,6 @@ bash <(curl -s -S -L https://git.io/install-gam)
|
|||||||
|
|
||||||
this will download GAM, install it and start setup.
|
this will download GAM, install it and start setup.
|
||||||
|
|
||||||
To install with `pip`, run
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pip install git+https://github.com/jay0lee/GAM.git#subdirectory=src
|
|
||||||
```
|
|
||||||
|
|
||||||
This will only download and install GAM. To start setup, simply invoke the `gam` CLI.
|
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
Download the MSI Installer from the [GitHub Releases] page. Install the MSI and you'll be prompted to setup GAM.
|
Download the MSI Installer from the [GitHub Releases] page. Install the MSI and you'll be prompted to setup GAM.
|
||||||
|
|||||||
@@ -33,6 +33,11 @@ for d in a.datas:
|
|||||||
|
|
||||||
pyz = PYZ(a.pure)
|
pyz = PYZ(a.pure)
|
||||||
|
|
||||||
|
if sys.platform == "darwin":
|
||||||
|
target_arch="universal2"
|
||||||
|
else:
|
||||||
|
target_arch=None
|
||||||
|
|
||||||
exe = EXE(pyz,
|
exe = EXE(pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
a.binaries,
|
a.binaries,
|
||||||
@@ -42,4 +47,5 @@ exe = EXE(pyz,
|
|||||||
debug=False,
|
debug=False,
|
||||||
strip=None,
|
strip=None,
|
||||||
upx=False,
|
upx=False,
|
||||||
|
target_arch=target_arch,
|
||||||
console=True)
|
console=True)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import platform
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
GAM_AUTHOR = 'Jay Lee <jay0lee@gmail.com>'
|
GAM_AUTHOR = 'Jay Lee <jay0lee@gmail.com>'
|
||||||
GAM_VERSION = '6.10'
|
GAM_VERSION = '6.11'
|
||||||
GAM_LICENSE = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
GAM_LICENSE = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
||||||
|
|
||||||
GAM_URL = 'https://git.io/gam'
|
GAM_URL = 'https://git.io/gam'
|
||||||
|
|||||||
Reference in New Issue
Block a user