Package Details: python-pypykatz 0.6.8-1

Git Clone URL: https://aur.archlinux.org/python-pypykatz.git (read-only, click to copy)
Package Base: python-pypykatz
Description: Partial Mimikatz implementation in pure Python.
Upstream URL: https://pypi.org/project/pypykatz/
Keywords: infosec mimikatz pentest python redteam security
Licenses: MIT
Submitter: GI_Jack
Maintainer: GI_Jack
Last Packager: GI_Jack
Votes: 3
Popularity: 0.001217
First Submitted: 2020-06-27 15:06 (UTC)
Last Updated: 2023-09-28 18:58 (UTC)

Latest Comments

dreieck commented on 2023-05-07 15:46 (UTC)

I think you should switch to using python -m build and python -m installer instead of invoking setup.py directly:

/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!

e.g. (just the idea, not tested with your package):

[...]
makedepends=(
  'python-build'
  'python-installer'
  'python-wheel'
  'python-setuptools'
  [...]
)
[...]
build() {
  [...]
  python -m build --wheel --no-isolation
  # maybe build documentation, ...
  [...]
}

package() {
  [...]
  python -m installer --destdir="$pkgdir" --compile-bytecode=2 dist/*.whl
  [...]
  # Maybe install documentation, license, ...
  [...]
}

Regards!

tikrass commented on 2022-08-17 19:35 (UTC)

According to pypykatz' setyp.py the python package aesedb is needed:

    install_requires=[
        'unicrypto>=0.0.5',
        'minidump>=0.0.21',
        'minikerberos>=0.2.20',
        'aiowinreg>=0.0.7',
        'msldap>=0.3.38',
        'winacl>=0.1.2',
        'aiosmb>=0.3.8',
        'aesedb>=0.0.5',
    ],

I will try to build a package python-aesedb.