diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2022-03-03 06:32:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 21:32:01 -0800 |
commit | 95c9c2bab2034f0359e8457360d93a288a65e55d (patch) | |
tree | e7c528666fec796a27a32f1532323da0edd71b10 | |
parent | 02d79c28bcfc1971b7f540de5779860389b5f21c (diff) | |
download | typing-95c9c2bab2034f0359e8457360d93a288a65e55d.tar.gz |
Improve distribution package (#1097)
-rw-r--r-- | typing_extensions/MANIFEST.in | 3 | ||||
-rw-r--r-- | typing_extensions/pyproject.toml | 23 |
2 files changed, 9 insertions, 17 deletions
diff --git a/typing_extensions/MANIFEST.in b/typing_extensions/MANIFEST.in deleted file mode 100644 index e3e1b70..0000000 --- a/typing_extensions/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -include CHANGELOG LICENSE README.rst -include src/typing_extensions.py -include src/test_typing_extensions.py diff --git a/typing_extensions/pyproject.toml b/typing_extensions/pyproject.toml index 354c206..fd6e185 100644 --- a/typing_extensions/pyproject.toml +++ b/typing_extensions/pyproject.toml @@ -8,20 +8,7 @@ build-backend = "flit_core.buildapi" name = "typing_extensions" version = "4.1.1" description = "Backported and Experimental Type Hints for Python 3.6+" -readme.text = """\ -Typing Extensions -- Backported and Experimental Type Hints for Python - -The ``typing`` module was added to the standard library in Python 3.5, but -many new features have been added to the module since then. -This means users of older Python versions who are unable to upgrade will not be -able to take advantage of new types added to the ``typing`` module, such as -``typing.Protocol`` or ``typing.TypedDict``. - -The ``typing_extensions`` module contains backports of these changes. -Experimental types that may eventually be added to the ``typing`` -module are also included in ``typing_extensions``. -""" -readme.content-type = "text/x-rst" +readme = "README.rst" requires-python = ">=3.6" urls.Home = "https://github.com/python/typing/blob/master/typing_extensions/README.rst" license.file = "LICENSE" @@ -61,3 +48,11 @@ classifiers = [ [[project.authors]] name = "Guido van Rossum, Jukka Lehtosalo, Ćukasz Langa, Michael Lee" email = "levkivskyi@gmail.com" + +[tool.flit.sdist] +include = [ + "CHANGELOG", + "README.rst", + "*/test*.py" +] +exclude = [] |