Annotation of pkgsrc/pkgtools/url2pkg/files/python/setuptools/__init__.py, revision 1.2
1.2 ! rillig 1: # $NetBSD: __init__.py,v 1.1 2022/07/16 08:59:39 rillig Exp $
1.1 rillig 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:
1.2 ! rillig 29: # used by pkgsrc package www/py-pook 1.0.2
! 30: class Command:
! 31: pass
! 32:
1.1 rillig 33: # used by pkgsrc package devel/py-pysha3 1.0.2
34: # used by pkgsrc package wip/py-torch 1.12.0
35: class Extension:
36: def __init__(self, name, sources, *args, **kw) -> None:
37: pass
CVSweb <webmaster@jp.NetBSD.org>