Annotation of pkgsrc/pkgtools/url2pkg/files/python/setuptools/__init__.py, revision 1.1
1.1 ! rillig 1: # $NetBSD$
! 2: #
! 3: # This is a drop-in replacement for the setuptools Python module. Instead
! 4: # of actually searching for the dependencies, it extracts the dependency
! 5: # information and includes it in the generated pkgsrc package Makefile.
! 6: #
! 7: # https://setuptools.pypa.io/en/latest/index.html
! 8: # https://setuptools.pypa.io/en/latest/setuptools.html
! 9: # https://setuptools.pypa.io/en/latest/userguide/index.html
! 10: # https://github.com/pypa/setuptools/tree/main/setuptools
! 11:
! 12: import url2pkg
! 13: # used by pkgsrc package wip/py-torch 1.12.0
! 14: import distutils # only re-export
! 15: from setuptools.dist import Distribution
! 16:
! 17:
! 18: # used by pkgsrc package devel/py-pysha3 1.0.2
! 19: # used by pkgsrc package wip/py-torch 1.12.0
! 20: def setup(**kwargs):
! 21: url2pkg.setup(**kwargs)
! 22:
! 23:
! 24: # used by pkgsrc package wip/py-torch 1.12.0
! 25: def find_packages(where='.', exclude=(), include=('*',)):
! 26: return []
! 27:
! 28:
! 29: # used by pkgsrc package devel/py-pysha3 1.0.2
! 30: # used by pkgsrc package wip/py-torch 1.12.0
! 31: class Extension:
! 32: def __init__(self, name, sources, *args, **kw) -> None:
! 33: pass
CVSweb <webmaster@jp.NetBSD.org>