pdb: Add module from cpython 3.11.

source: https://github.com/python/cpython/blob/3.11/Lib/pdb.py
pull/499/head
Andrew Leech 2022-06-21 09:11:16 +10:00
rodzic de6b87184b
commit eb30d317f3
3 zmienionych plików z 1822 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,3 @@
srctype = cpython
type = module
version = 0.0.1

Plik diff jest za duży Load Diff

Wyświetl plik

@ -0,0 +1,24 @@
import sys
# Remove current dir from sys.path, otherwise setuptools will peek up our
# module instead of system's.
sys.path.pop(0)
from setuptools import setup
sys.path.append("..")
import sdist_upip
setup(
name="micropython-pdb",
version="0.0.1",
description="CPython pdb module ported to MicroPython",
long_description="This is a module ported from CPython standard library to be compatible with\nMicroPython interpreter. Usually, this means applying small patches for\nfeatures not supported (yet, or at all) in MicroPython. Sometimes, heavier\nchanges are required. Note that CPython modules are written with availability\nof vast resources in mind, and may not work for MicroPython ports with\nlimited heap. If you are affected by such a case, please help reimplement\nthe module from scratch.",
url="https://github.com/micropython/micropython-lib",
author="CPython Developers",
author_email="python-dev@python.org",
maintainer="micropython-lib Developers",
maintainer_email="micro-python@googlegroups.com",
license="Python",
cmdclass={"sdist": sdist_upip.sdist},
py_modules=["pdb"],
)