summaryrefslogtreecommitdiff
path: root/pkgtools/url2pkg/files/python/setuptools/__init__.py
blob: ef7132cbad8aa79e615582b94020ccb0fdf12450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: __init__.py,v 1.2 2022/08/25 19:51:59 rillig Exp $
#
# This is a drop-in replacement for the setuptools Python module. Instead
# of actually searching for the dependencies, it extracts the dependency
# information and includes it in the generated pkgsrc package Makefile.
#
# https://setuptools.pypa.io/en/latest/index.html
# https://setuptools.pypa.io/en/latest/setuptools.html
# https://setuptools.pypa.io/en/latest/userguide/index.html
# https://github.com/pypa/setuptools/tree/main/setuptools

import url2pkg
# used by pkgsrc package wip/py-torch 1.12.0
import distutils  # only re-export
from setuptools.dist import Distribution


# used by pkgsrc package devel/py-pysha3 1.0.2
# used by pkgsrc package wip/py-torch 1.12.0
def setup(**kwargs):
    url2pkg.setup(**kwargs)


# used by pkgsrc package wip/py-torch 1.12.0
def find_packages(where='.', exclude=(), include=('*',)):
    return []


# used by pkgsrc package www/py-pook 1.0.2
class Command:
    pass

# used by pkgsrc package devel/py-pysha3 1.0.2
# used by pkgsrc package wip/py-torch 1.12.0
class Extension:
    def __init__(self, name, sources, *args, **kw) -> None:
        pass