Package Details: python-ldapdomaindump 0.9.4-1

Git Clone URL: https://aur.archlinux.org/python-ldapdomaindump.git (read-only, click to copy)
Package Base: python-ldapdomaindump
Description: Active Directory information dumper via LDAP, written in python
Upstream URL: https://github.com/dirkjanm/ldapdomaindump/
Keywords: activedirectory AD ldap library python
Licenses: MIT
Submitter: GI_Jack
Maintainer: GI_Jack
Last Packager: GI_Jack
Votes: 1
Popularity: 0.000000
First Submitted: 2020-06-27 13:48 (UTC)
Last Updated: 2023-05-14 02:04 (UTC)

Latest Comments

dreieck commented on 2023-05-07 15:49 (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!