Skip to content

Commit

Permalink
Add tomli as vendorised dependency
Browse files Browse the repository at this point in the history
This eventually will allow reading project metadata directly from
`pyproject.toml`
  • Loading branch information
abravalheri committed Dec 11, 2021
1 parent 66b0d0f commit f90db0a
Show file tree
Hide file tree
Showing 7 changed files with 782 additions and 1 deletion.
9 changes: 9 additions & 0 deletions setuptools/_vendor/tomli/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""A lil' TOML parser."""

__all__ = ("loads", "load", "TOMLDecodeError")
__version__ = "1.2.2" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT

from tomli._parser import TOMLDecodeError, load, loads

# Pretend this exception was created here.
TOMLDecodeError.__module__ = "tomli"

0 comments on commit f90db0a

Please sign in to comment.