GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.47k stars 466 forks source link

pip install broken #1466

Open janosh opened 2 years ago

janosh commented 2 years ago

pip install appears to be broken. This used to work after #1417 and #1419:

pip install git+https://github.com/jay0lee/GAM.git#subdirectory=src

It now errors:

Building wheel for pyscard (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/janosh/.venv/py310/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/5m/sb0wx83j0m36xk_zswkfnffh0000gn/T/pip-install-fsew_zvn/pyscard_03a25dcce2b24efdafc5928d6ab7509a/setup.py'"'"'; __file__='"'"'/private/var/folders/5m/sb0wx83j0m36xk_zswkfnffh0000gn/T/pip-install-fsew_zvn/pyscard_03a25dcce2b24efdafc5928d6ab7509a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/5m/sb0wx83j0m36xk_zswkfnffh0000gn/T/pip-wheel-6v8_svy6
       cwd: /private/var/folders/5m/sb0wx83j0m36xk_zswkfnffh0000gn/T/pip-install-fsew_zvn/pyscard_03a25dcce2b24efdafc5928d6ab7509a/
  Complete output (8 lines):
  running bdist_wheel
  running build
  running build_py
  running build_ext
  building 'smartcard.scard._scard' extension
  swigging smartcard/scard/scard.i to smartcard/scard/scard_wrap.c
  swig -python -outdir smartcard/scard -DPCSCLITE -D__APPLE__ -D__LION__ -o smartcard/scard/scard_wrap.c smartcard/scard/scard.i
  error: command 'swig' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for pyscard

Is a release to PyPI still on the roadmap?

jay0lee commented 2 years ago

You need to install swig on your machine, it's required by pyscard.

I haven't been able to prioritize a PyPI release as most GAM admins focus on the binary release today.

Jay Lee

On Thu, Jan 6, 2022 at 1:09 PM Janosh Riebesell @.***> wrote:

Assigned #1466 https://github.com/jay0lee/GAM/issues/1466 to @jay0lee https://github.com/jay0lee.

— Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1466#event-5853754490, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDIZMHSY2XBMIZD4WTRMWTUUXLF5ANCNFSM5LM4ZOBQ . You are receiving this because you were assigned.Message ID: @.***>