diff --git a/.gitignore b/.gitignore index dc14826ec86..16cc35c8e86 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ setuptools.egg-info .idea/ .pytest_cache/ .mypy_cache/ +.pybuild diff --git a/_distutils_system_mod.py b/_distutils_system_mod.py new file mode 100644 index 00000000000..254e425ce8a --- /dev/null +++ b/_distutils_system_mod.py @@ -0,0 +1,136 @@ +""" +Apply Debian-specific patches to distutils commands and sysconfig. + +Extracts the customized behavior from patches as reported +in pypa/distutils#2 and applies those customizations (except +for scheme definitions) to those commands. + +Place this module somewhere in sys.path to take effect. +""" + +import os +import sys +import sysconfig + +import distutils.sysconfig +import distutils.command.install as orig_install +import distutils.command.install_egg_info as orig_install_egg_info +from distutils.command.install_egg_info import ( + to_filename, + safe_name, + safe_version, + ) +from distutils.errors import DistutilsOptionError + + +class install(orig_install.install): + user_options = list(orig_install.install.user_options) + [ + ('install-layout=', None, + "installation layout to choose (known values: deb, unix)"), + ] + + def initialize_options(self): + super().initialize_options() + self.prefix_option = None + self.install_layout = None + + def finalize_unix(self): + self.prefix_option = self.prefix + super().finalize_unix() + if self.install_layout: + if self.install_layout.lower() in ['deb']: + self.select_scheme("deb_system") + elif self.install_layout.lower() in ['unix']: + self.select_scheme("posix_prefix") + else: + raise DistutilsOptionError( + "unknown value for --install-layout") + elif ((self.prefix_option and + os.path.normpath(self.prefix) != '/usr/local') + or sys.base_prefix != sys.prefix + or 'PYTHONUSERBASE' in os.environ + or 'VIRTUAL_ENV' in os.environ + or 'real_prefix' in sys.__dict__): + self.select_scheme("posix_prefix") + else: + if os.path.normpath(self.prefix) == '/usr/local': + self.prefix = self.exec_prefix = '/usr' + self.install_base = self.install_platbase = '/usr' + self.select_scheme("posix_local") + + +class install_egg_info(orig_install_egg_info.install_egg_info): + user_options = list(orig_install_egg_info.install_egg_info.user_options) + [ + ('install-layout', None, "custom installation layout"), + ] + + def initialize_options(self): + super().initialize_options() + self.prefix_option = None + self.install_layout = None + + def finalize_options(self): + self.set_undefined_options('install',('install_layout','install_layout')) + self.set_undefined_options('install',('prefix_option','prefix_option')) + super().finalize_options() + + @property + def basename(self): + if self.install_layout: + if not self.install_layout.lower() in ['deb', 'unix']: + raise DistutilsOptionError( + "unknown value for --install-layout") + no_pyver = (self.install_layout.lower() == 'deb') + elif self.prefix_option: + no_pyver = False + else: + no_pyver = True + if no_pyver: + basename = "%s-%s.egg-info" % ( + to_filename(safe_name(self.distribution.get_name())), + to_filename(safe_version(self.distribution.get_version())) + ) + else: + basename = "%s-%s-py%d.%d.egg-info" % ( + to_filename(safe_name(self.distribution.get_name())), + to_filename(safe_version(self.distribution.get_version())), + *sys.version_info[:2] + ) + return basename + + +def _posix_lib(standard_lib, libpython, early_prefix, prefix): + is_default_prefix = not early_prefix or os.path.normpath(early_prefix) in ('/usr', '/usr/local') + if standard_lib: + return libpython + elif (is_default_prefix and + 'PYTHONUSERBASE' not in os.environ and + 'VIRTUAL_ENV' not in os.environ and + 'real_prefix' not in sys.__dict__ and + sys.prefix == sys.base_prefix): + return os.path.join(prefix, "lib", "python3", "dist-packages") + else: + return os.path.join(libpython, "site-packages") + + +def extend_schemes(): + sysconfig._INSTALL_SCHEMES.setdefault( + 'deb_system', + dict( + purelib='{base}/lib/python3/dist-packages', + platlib='{platbase}/lib/python3/dist-packages', + headers='{base}/include/python{py_version_short}/{dist_name}', + scripts='{base}/bin', + data='{base}', + ), + ) + + +def apply_customizations(): + orig_install.install = install + orig_install_egg_info.install_egg_info = install_egg_info + distutils.sysconfig._posix_lib = _posix_lib + extend_schemes() + + +apply_customizations() diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 00000000000..a7cffc674ec --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,7 @@ +*.substvars +*debhelper* +.debhelper +files +python3-setuptools +python3-pkg-resources +tmp diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000000..0579045a74e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-setuptools (100:60.1.1-1) UNRELEASED; urgency=medium + + * https://github.com/pypa/setuptools/releases/tag/v60.1.1 + + -- Wong Hoi Sing Edison Wed, 29 Dec 2021 17:23:26 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000000..7d9e51ba0f4 --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +Source: python-setuptools +Section: python +Priority: optional +Standards-Version: 4.5.0 +Maintainer: Wong Hoi Sing Edison +Homepage: https://github.com/pypa/setuptools/tags +Vcs-Browser: https://github.com/alvistack/pypa-setuptools +Vcs-Git: https://github.com/alvistack/pypa-setuptools.git +Build-Depends: + debhelper, + debhelper-compat (= 10), + dh-python, + fdupes, + python3-all, + python3-dev, + +Package: python3-pkg-resources +Architecture: all +Description: Package Discovery and Resource Access using pkg_resources + The pkg_resources module provides an API for Python libraries to + access their resource files, and for extensible applications and + frameworks to automatically discover plugins. It also provides + runtime support for using C extensions that are inside zipfile-format + eggs, support for merging packages that have separately-distributed + modules or subpackages, and APIs for managing Python's current + "working set" of active packages. +Depends: + ${misc:Depends}, + ${shlibs:Depends}, + ${python3:Depends}, + +Package: python3-setuptools +Architecture: all +Description: Download, build, install, upgrade, and uninstall Python packages + setuptools is a collection of enhancements to the Python distutils that + allow you to build and distribute Python packages, especially ones that + have dependencies on other packages. +Depends: + ${misc:Depends}, + ${shlibs:Depends}, + ${python3:Depends}, + python3, + python3-pkg-resources (= ${source:Version}), diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000000..e69de29bb2d diff --git a/debian/python3-pkg-resources.install b/debian/python3-pkg-resources.install new file mode 100644 index 00000000000..9a71d66aae1 --- /dev/null +++ b/debian/python3-pkg-resources.install @@ -0,0 +1 @@ +usr/lib/python*/*-packages/pkg_resources diff --git a/debian/python3-pkg-resources.lintian-overrides b/debian/python3-pkg-resources.lintian-overrides new file mode 100644 index 00000000000..ec0ffe41ff8 --- /dev/null +++ b/debian/python3-pkg-resources.lintian-overrides @@ -0,0 +1,3 @@ +python3-pkg-resources: copyright-without-copyright-notice +python3-pkg-resources: initial-upload-closes-no-bugs +python3-pkg-resources: zero-byte-file-in-doc-directory diff --git a/debian/python3-setuptools.install b/debian/python3-setuptools.install new file mode 100644 index 00000000000..6fcc6fef40a --- /dev/null +++ b/debian/python3-setuptools.install @@ -0,0 +1,4 @@ +usr/lib/python*/*-packages/_distutils_hack +usr/lib/python*/*-packages/_distutils_system_mod.py +usr/lib/python*/*-packages/distutils-precedence.pth +usr/lib/python*/*-packages/setuptools* diff --git a/debian/python3-setuptools.lintian-overrides b/debian/python3-setuptools.lintian-overrides new file mode 100644 index 00000000000..f8713c3cafb --- /dev/null +++ b/debian/python3-setuptools.lintian-overrides @@ -0,0 +1,4 @@ +python3-setuptools: copyright-without-copyright-notice +python3-setuptools: initial-upload-closes-no-bugs +python3-setuptools: no-manual-page +python3-setuptools: zero-byte-file-in-doc-directory diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000000..e75ababf488 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +SHELL := /bin/bash + +override_dh_auto_install: + dh_auto_install + install -Dpm644 -t debian/tmp/usr/lib/python*/*-packages _distutils_system_mod.py + rm -rf debian/tmp/usr/lib/python*/*-packages/pkg_resources/tests + find debian/tmp/usr/lib/python*/*-packages -type f -name '*.pyc' -exec rm -rf {} \; + fdupes -s debian/tmp/usr/lib/python*/*-packages + +override_dh_auto_test: + +override_dh_auto_clean: + +%: + dh $@ --buildsystem=pybuild --with python3 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000000..163aaf8d82b --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 00000000000..413caf31946 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,4 @@ +python-setuptools source: no-debian-changes +python-setuptools source: source-contains-prebuilt-windows-binary +python-setuptools source: source-is-missing +python-setuptools source: source-package-encodes-python-version diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 03c40125c96..00000000000 --- a/pyproject.toml +++ /dev/null @@ -1,59 +0,0 @@ -[build-system] -requires = [] -build-backend = "setuptools.build_meta" -backend-path = ["."] - -[tool.black] -skip-string-normalization = true - -[tool.setuptools_scm] - -[pytest.enabler.black] -#addopts = "--black" - -[pytest.enabler.mypy] -#addopts = "--mypy" - -[pytest.enabler.flake8] -addopts = "--flake8" - -[pytest.enabler.cov] -addopts = "--cov" - -[pytest.enabler.xdist] -addopts = "-n auto" - -[tool.towncrier] - package = "setuptools" - package_dir = "setuptools" - filename = "CHANGES.rst" - directory = "changelog.d" - title_format = "v{version}" - issue_format = "#{issue}" - template = "towncrier_template.rst" - underlines = ["-", "^"] - - [[tool.towncrier.type]] - directory = "deprecation" - name = "Deprecations" - showcontent = true - - [[tool.towncrier.type]] - directory = "breaking" - name = "Breaking Changes" - showcontent = true - - [[tool.towncrier.type]] - directory = "change" - name = "Changes" - showcontent = true - - [[tool.towncrier.type]] - directory = "doc" - name = "Documentation changes" - showcontent = true - - [[tool.towncrier.type]] - directory = "misc" - name = "Misc" - showcontent = true diff --git a/python-setuptools.spec b/python-setuptools.spec new file mode 100644 index 00000000000..fcd8aa5acac --- /dev/null +++ b/python-setuptools.spec @@ -0,0 +1,125 @@ +%global debug_package %{nil} + +Name: python-setuptools +Epoch: 100 +Version: 60.1.1 +Release: 1%{?dist} +BuildArch: noarch +Summary: Download, build, install, upgrade, and uninstall Python packages +License: MIT +URL: https://github.com/pypa/setuptools/tags +Source0: %{name}_%{version}.orig.tar.gz +BuildRequires: fdupes +BuildRequires: gcc +BuildRequires: glibc-static +BuildRequires: python-rpm-macros +BuildRequires: python3-devel + +%description +setuptools is a collection of enhancements to the Python distutils that +allow you to build and distribute Python packages, especially ones that +have dependencies on other packages. + +%prep +%autosetup -T -c -n %{name}_%{version}-%{release} +tar -zx -f %{S:0} --strip-components=1 -C . +rm -rf _distutils_system_mod.py + +%build +%py3_build + +%install +%py3_install +rm -rf %{buildroot}%{python3_sitelib}/pkg_resources/tests +find %{buildroot}%{python3_sitelib} -type f -name '*.pyc' -exec rm -rf {} \; +%fdupes -s %{buildroot}%{python3_sitelib} + +%check + +%if 0%{?suse_version} > 1500 +%package -n python%{python_version_nodots}-setuptools +Summary: Download, build, install, upgrade, and uninstall Python packages +Requires: python3 +Provides: python3-setuptools = %{epoch}:%{version}-%{release} +Provides: python3dist(setuptools) = %{epoch}:%{version}-%{release} +Provides: python%{python3_version}-setuptools = %{epoch}:%{version}-%{release} +Provides: python%{python3_version}dist(setuptools) = %{epoch}:%{version}-%{release} +Provides: python%{python3_version_nodots}-setuptools = %{epoch}:%{version}-%{release} +Provides: python%{python3_version_nodots}dist(setuptools) = %{epoch}:%{version}-%{release} + +%description -n python%{python_version_nodots}-setuptools +setuptools is a collection of enhancements to the Python distutils that +allow you to build and distribute Python packages, especially ones that +have dependencies on other packages. + +%files -n python%{python_version_nodots}-setuptools +%license LICENSE +%{python3_sitelib}/_distutils_hack +%{python3_sitelib}/distutils-precedence.pth +%{python3_sitelib}/pkg_resources +%{python3_sitelib}/setuptools* +%endif + +%if 0%{?centos_version} == 800 +%package -n platform-python-setuptools +Summary: Download, build, install, upgrade, and uninstall Python packages +Requires: python3 +Conflicts: platform-python-setuptools < %{epoch}:%{version}-%{release} +Conflicts: python3-setuptools < %{epoch}:%{version}-%{release} + +%description -n platform-python-setuptools +setuptools is a collection of enhancements to the Python distutils that +allow you to build and distribute Python packages, especially ones that +have dependencies on other packages. + +%package -n python3-setuptools +Summary: Download, build, install, upgrade, and uninstall Python packages +Requires: platform-python-setuptools = %{epoch}:%{version}-%{release} +Provides: python3-setuptools = %{epoch}:%{version}-%{release} +Provides: python3dist(setuptools) = %{epoch}:%{version}-%{release} +Provides: python%{python3_version}-setuptools = %{epoch}:%{version}-%{release} +Provides: python%{python3_version}dist(setuptools) = %{epoch}:%{version}-%{release} +Provides: python%{python3_version_nodots}-setuptools = %{epoch}:%{version}-%{release} +Provides: python%{python3_version_nodots}dist(setuptools) = %{epoch}:%{version}-%{release} + +%description -n python3-setuptools +setuptools is a collection of enhancements to the Python distutils that +allow you to build and distribute Python packages, especially ones that +have dependencies on other packages. + +%files -n platform-python-setuptools +%license LICENSE +%{python3_sitelib}/_distutils_hack +%{python3_sitelib}/distutils-precedence.pth +%{python3_sitelib}/pkg_resources +%{python3_sitelib}/setuptools* + +%files -n python3-setuptools +%license LICENSE +%endif + +%if !(0%{?suse_version} > 1500) && !(0%{?centos_version} == 800) +%package -n python3-setuptools +Summary: Download, build, install, upgrade, and uninstall Python packages +Requires: python3 +Provides: python3-setuptools = %{epoch}:%{version}-%{release} +Provides: python3dist(setuptools) = %{epoch}:%{version}-%{release} +Provides: python%{python3_version}-setuptools = %{epoch}:%{version}-%{release} +Provides: python%{python3_version}dist(setuptools) = %{epoch}:%{version}-%{release} +Provides: python%{python3_version_nodots}-setuptools = %{epoch}:%{version}-%{release} +Provides: python%{python3_version_nodots}dist(setuptools) = %{epoch}:%{version}-%{release} + +%description -n python3-setuptools +setuptools is a collection of enhancements to the Python distutils that +allow you to build and distribute Python packages, especially ones that +have dependencies on other packages. + +%files -n python3-setuptools +%license LICENSE +%{python3_sitelib}/_distutils_hack +%{python3_sitelib}/distutils-precedence.pth +%{python3_sitelib}/pkg_resources +%{python3_sitelib}/setuptools* +%endif + +%changelog diff --git a/setup.cfg b/setup.cfg index 23c7d1ea840..46e84066ffd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ author_email = distutils-sig@python.org description = Easily download, build, install, upgrade, and uninstall Python packages long_description = file:README.rst url = https://github.com/pypa/setuptools -classifiers = +classifiers = Development Status :: 5 - Production/Stable Intended Audience :: Developers License :: OSI Approved :: MIT License @@ -17,18 +17,16 @@ classifiers = Topic :: System :: Systems Administration Topic :: Utilities keywords = CPAN PyPI distutils eggs package management -project_urls = +project_urls = Documentation = https://setuptools.pypa.io/ [options] packages = find_namespace: -# disabled as it causes tests to be included #2505 -# include_package_data = true python_requires = >=3.7 -install_requires = +install_requires = [options.packages.find] -exclude = +exclude = build* dist* docs* @@ -37,21 +35,17 @@ exclude = tools* [options.extras_require] -testing = - # upstream +testing = pytest >= 6 pytest-checkdocs >= 2.4 pytest-flake8 pytest-black >= 0.3.7; \ - # workaround for jaraco/skeleton#22 - python_implementation != "PyPy" + python_implementation != "PyPy" pytest-cov pytest-mypy; \ - # workaround for jaraco/skeleton#22 - python_implementation != "PyPy" + python_implementation != "PyPy" pytest-enabler >= 1.0.1 - - # local + mock flake8-2020 virtualenv>=13.0.0 @@ -63,26 +57,21 @@ testing = pytest-xdist sphinx jaraco.path>=3.2.0 - -docs = - # upstream +docs = sphinx jaraco.packaging >= 8.2 rst.linker >= 1.9 jaraco.tidelift >= 1.4 - - # local + pygments-github-lexers==0.0.5 sphinx-inline-tabs sphinxcontrib-towncrier furo - -ssl = - -certs = +ssl = +certs = [options.entry_points] -distutils.commands = +distutils.commands = alias = setuptools.command.alias:alias bdist_egg = setuptools.command.bdist_egg:bdist_egg bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm @@ -103,10 +92,10 @@ distutils.commands = setopt = setuptools.command.setopt:setopt test = setuptools.command.test:test upload_docs = setuptools.command.upload_docs:upload_docs -setuptools.finalize_distribution_options = +setuptools.finalize_distribution_options = parent_finalize = setuptools.dist:_Distribution.finalize_options keywords = setuptools.dist:Distribution._finalize_setup_keywords -distutils.setup_keywords = +distutils.setup_keywords = eager_resources = setuptools.dist:assert_string_list namespace_packages = setuptools.dist:check_nsp extras_require = setuptools.dist:check_extras @@ -125,7 +114,7 @@ distutils.setup_keywords = test_loader = setuptools.dist:check_importable test_runner = setuptools.dist:check_importable use_2to3 = setuptools.dist:invalid_unless_false -egg_info.writers = +egg_info.writers = PKG-INFO = setuptools.command.egg_info:write_pkg_info requires.txt = setuptools.command.egg_info:write_requirements entry_points.txt = setuptools.command.egg_info:write_entries @@ -136,8 +125,9 @@ egg_info.writers = dependency_links.txt = setuptools.command.egg_info:overwrite_arg [egg_info] -tag_build = .post -tag_date = 1 +tag_build = +tag_date = 0 [sdist] formats = zip + diff --git a/setuptools.egg-info/PKG-INFO b/setuptools.egg-info/PKG-INFO new file mode 100644 index 00000000000..5a837a13440 --- /dev/null +++ b/setuptools.egg-info/PKG-INFO @@ -0,0 +1,102 @@ +Metadata-Version: 2.1 +Name: setuptools +Version: 60.1.1 +Summary: Easily download, build, install, upgrade, and uninstall Python packages +Home-page: https://github.com/pypa/setuptools +Author: Python Packaging Authority +Author-email: distutils-sig@python.org +License: UNKNOWN +Project-URL: Documentation, https://setuptools.pypa.io/ +Keywords: CPAN PyPI distutils eggs package management +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: MIT License +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: System :: Archiving :: Packaging +Classifier: Topic :: System :: Systems Administration +Classifier: Topic :: Utilities +Requires-Python: >=3.7 +Provides-Extra: testing +Provides-Extra: docs +Provides-Extra: ssl +Provides-Extra: certs +License-File: LICENSE + +.. image:: https://raw.githubusercontent.com/pypa/setuptools/main/docs/images/banner-640x320.svg + :align: center + +| + +.. image:: https://img.shields.io/pypi/v/setuptools.svg + :target: `PyPI link`_ + +.. image:: https://img.shields.io/pypi/pyversions/setuptools.svg + :target: `PyPI link`_ + +.. _PyPI link: https://pypi.org/project/setuptools + +.. image:: https://github.com/pypa/setuptools/workflows/tests/badge.svg + :target: https://github.com/pypa/setuptools/actions?query=workflow%3A%22tests%22 + :alt: tests + +.. image:: https://img.shields.io/badge/code%20style-black-000000.svg + :target: https://github.com/psf/black + :alt: Code style: Black + +.. image:: https://img.shields.io/readthedocs/setuptools/latest.svg + :target: https://setuptools.pypa.io + +.. image:: https://img.shields.io/badge/skeleton-2021-informational + :target: https://blog.jaraco.com/skeleton + +.. image:: https://img.shields.io/codecov/c/github/pypa/setuptools/master.svg?logo=codecov&logoColor=white + :target: https://codecov.io/gh/pypa/setuptools + +.. image:: https://tidelift.com/badges/github/pypa/setuptools?style=flat + :target: https://tidelift.com/subscription/pkg/pypi-setuptools?utm_source=pypi-setuptools&utm_medium=readme + +.. image:: https://img.shields.io/discord/803025117553754132 + :target: https://discord.com/channels/803025117553754132/815945031150993468 + :alt: Discord + +See the `Installation Instructions +`_ in the Python Packaging +User's Guide for instructions on installing, upgrading, and uninstalling +Setuptools. + +Questions and comments should be directed to the `distutils-sig +mailing list `_. +Bug reports and especially tested patches may be +submitted directly to the `bug tracker +`_. + + +Code of Conduct +=============== + +Everyone interacting in the setuptools project's codebases, issue trackers, +chat rooms, and mailing lists is expected to follow the +`PSF Code of Conduct `_. + + +For Enterprise +============== + +Available as part of the Tidelift Subscription. + +Setuptools and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. + +`Learn more `_. + + +Security Contact +================ + +To report a security vulnerability, please use the +`Tidelift security contact `_. +Tidelift will coordinate the fix and disclosure. + + diff --git a/setuptools.egg-info/SOURCES.txt b/setuptools.egg-info/SOURCES.txt new file mode 100644 index 00000000000..f9df5838d3e --- /dev/null +++ b/setuptools.egg-info/SOURCES.txt @@ -0,0 +1,345 @@ +CHANGES.rst +LICENSE +MANIFEST.in +README.rst +bootstrap.py +conftest.py +launcher.c +msvc-build-launcher.cmd +pavement.py +pyproject.toml +pytest.ini +setup.cfg +setup.py +towncrier_template.rst +tox.ini +_distutils_hack/__init__.py +_distutils_hack/override.py +changelog.d/.gitignore +changelog.d/README.rst +docs/build_meta.rst +docs/conf.py +docs/history.rst +docs/index.rst +docs/pkg_resources.rst +docs/python 2 sunset.rst +docs/roadmap.rst +docs/setuptools.rst +docs/_ext/_custom_icons.py +docs/deprecated/distutils-legacy.rst +docs/deprecated/easy_install.rst +docs/deprecated/functionalities.rst +docs/deprecated/index.rst +docs/deprecated/python_eggs.rst +docs/deprecated/distutils/_setuptools_disclaimer.rst +docs/deprecated/distutils/apiref.rst +docs/deprecated/distutils/builtdist.rst +docs/deprecated/distutils/commandref.rst +docs/deprecated/distutils/configfile.rst +docs/deprecated/distutils/examples.rst +docs/deprecated/distutils/extending.rst +docs/deprecated/distutils/index.rst +docs/deprecated/distutils/introduction.rst +docs/deprecated/distutils/packageindex.rst +docs/deprecated/distutils/setupscript.rst +docs/deprecated/distutils/sourcedist.rst +docs/deprecated/distutils/uploading.rst +docs/development/developer-guide.rst +docs/development/index.rst +docs/development/releases.rst +docs/images/README.rst +docs/references/keywords.rst +docs/userguide/commands.rst +docs/userguide/datafiles.rst +docs/userguide/declarative_config.rst +docs/userguide/dependency_management.rst +docs/userguide/development_mode.rst +docs/userguide/distribution.rst +docs/userguide/entry_point.rst +docs/userguide/extension.rst +docs/userguide/functionalities_rewrite.rst +docs/userguide/index.rst +docs/userguide/keywords.rst +docs/userguide/miscellaneous.rst +docs/userguide/package_discovery.rst +docs/userguide/quickstart.rst +pkg_resources/__init__.py +pkg_resources/api_tests.txt +pkg_resources/_vendor/__init__.py +pkg_resources/_vendor/appdirs.py +pkg_resources/_vendor/pyparsing.py +pkg_resources/_vendor/vendored.txt +pkg_resources/_vendor/packaging/__about__.py +pkg_resources/_vendor/packaging/__init__.py +pkg_resources/_vendor/packaging/_manylinux.py +pkg_resources/_vendor/packaging/_musllinux.py +pkg_resources/_vendor/packaging/_structures.py +pkg_resources/_vendor/packaging/markers.py +pkg_resources/_vendor/packaging/requirements.py +pkg_resources/_vendor/packaging/specifiers.py +pkg_resources/_vendor/packaging/tags.py +pkg_resources/_vendor/packaging/utils.py +pkg_resources/_vendor/packaging/version.py +pkg_resources/extern/__init__.py +pkg_resources/tests/__init__.py +pkg_resources/tests/test_find_distributions.py +pkg_resources/tests/test_markers.py +pkg_resources/tests/test_pkg_resources.py +pkg_resources/tests/test_resources.py +pkg_resources/tests/test_working_set.py +pkg_resources/tests/data/my-test-package-source/setup.cfg +pkg_resources/tests/data/my-test-package-source/setup.py +pkg_resources/tests/data/my-test-package-zip/my-test-package.zip +pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/PKG-INFO +pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/SOURCES.txt +pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/dependency_links.txt +pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/top_level.txt +pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/zip-safe +pkg_resources/tests/data/my-test-package_zipped-egg/my_test_package-1.0-py3.7.egg +setuptools/__init__.py +setuptools/_deprecation_warning.py +setuptools/_imp.py +setuptools/archive_util.py +setuptools/build_meta.py +setuptools/cli-32.exe +setuptools/cli-64.exe +setuptools/cli-arm64.exe +setuptools/cli.exe +setuptools/config.py +setuptools/dep_util.py +setuptools/depends.py +setuptools/dist.py +setuptools/errors.py +setuptools/extension.py +setuptools/glob.py +setuptools/gui-32.exe +setuptools/gui-64.exe +setuptools/gui-arm64.exe +setuptools/gui.exe +setuptools/installer.py +setuptools/launch.py +setuptools/monkey.py +setuptools/msvc.py +setuptools/namespaces.py +setuptools/package_index.py +setuptools/py34compat.py +setuptools/sandbox.py +setuptools/script (dev).tmpl +setuptools/script.tmpl +setuptools/unicode_utils.py +setuptools/version.py +setuptools/wheel.py +setuptools/windows_support.py +setuptools.egg-info/PKG-INFO +setuptools.egg-info/SOURCES.txt +setuptools.egg-info/dependency_links.txt +setuptools.egg-info/entry_points.txt +setuptools.egg-info/requires.txt +setuptools.egg-info/top_level.txt +setuptools/_distutils/__init__.py +setuptools/_distutils/_msvccompiler.py +setuptools/_distutils/archive_util.py +setuptools/_distutils/bcppcompiler.py +setuptools/_distutils/ccompiler.py +setuptools/_distutils/cmd.py +setuptools/_distutils/config.py +setuptools/_distutils/core.py +setuptools/_distutils/cygwinccompiler.py +setuptools/_distutils/debug.py +setuptools/_distutils/dep_util.py +setuptools/_distutils/dir_util.py +setuptools/_distutils/dist.py +setuptools/_distutils/errors.py +setuptools/_distutils/extension.py +setuptools/_distutils/fancy_getopt.py +setuptools/_distutils/file_util.py +setuptools/_distutils/filelist.py +setuptools/_distutils/log.py +setuptools/_distutils/msvc9compiler.py +setuptools/_distutils/msvccompiler.py +setuptools/_distutils/py35compat.py +setuptools/_distutils/py38compat.py +setuptools/_distutils/spawn.py +setuptools/_distutils/sysconfig.py +setuptools/_distutils/text_file.py +setuptools/_distutils/unixccompiler.py +setuptools/_distutils/util.py +setuptools/_distutils/version.py +setuptools/_distutils/versionpredicate.py +setuptools/_distutils/command/__init__.py +setuptools/_distutils/command/bdist.py +setuptools/_distutils/command/bdist_dumb.py +setuptools/_distutils/command/bdist_msi.py +setuptools/_distutils/command/bdist_rpm.py +setuptools/_distutils/command/bdist_wininst.py +setuptools/_distutils/command/build.py +setuptools/_distutils/command/build_clib.py +setuptools/_distutils/command/build_ext.py +setuptools/_distutils/command/build_py.py +setuptools/_distutils/command/build_scripts.py +setuptools/_distutils/command/check.py +setuptools/_distutils/command/clean.py +setuptools/_distutils/command/config.py +setuptools/_distutils/command/install.py +setuptools/_distutils/command/install_data.py +setuptools/_distutils/command/install_egg_info.py +setuptools/_distutils/command/install_headers.py +setuptools/_distutils/command/install_lib.py +setuptools/_distutils/command/install_scripts.py +setuptools/_distutils/command/py37compat.py +setuptools/_distutils/command/register.py +setuptools/_distutils/command/sdist.py +setuptools/_distutils/command/upload.py +setuptools/_distutils/command/wininst-10.0-amd64.exe +setuptools/_distutils/command/wininst-10.0.exe +setuptools/_distutils/command/wininst-14.0-amd64.exe +setuptools/_distutils/command/wininst-14.0.exe +setuptools/_distutils/command/wininst-6.0.exe +setuptools/_distutils/command/wininst-7.1.exe +setuptools/_distutils/command/wininst-8.0.exe +setuptools/_distutils/command/wininst-9.0-amd64.exe +setuptools/_distutils/command/wininst-9.0.exe +setuptools/_distutils/tests/__init__.py +setuptools/_distutils/tests/py35compat.py +setuptools/_distutils/tests/py38compat.py +setuptools/_distutils/tests/support.py +setuptools/_distutils/tests/test_archive_util.py +setuptools/_distutils/tests/test_bdist.py +setuptools/_distutils/tests/test_bdist_dumb.py +setuptools/_distutils/tests/test_bdist_msi.py +setuptools/_distutils/tests/test_bdist_rpm.py +setuptools/_distutils/tests/test_bdist_wininst.py +setuptools/_distutils/tests/test_build.py +setuptools/_distutils/tests/test_build_clib.py +setuptools/_distutils/tests/test_build_ext.py +setuptools/_distutils/tests/test_build_py.py +setuptools/_distutils/tests/test_build_scripts.py +setuptools/_distutils/tests/test_check.py +setuptools/_distutils/tests/test_clean.py +setuptools/_distutils/tests/test_cmd.py +setuptools/_distutils/tests/test_config.py +setuptools/_distutils/tests/test_config_cmd.py +setuptools/_distutils/tests/test_core.py +setuptools/_distutils/tests/test_cygwinccompiler.py +setuptools/_distutils/tests/test_dep_util.py +setuptools/_distutils/tests/test_dir_util.py +setuptools/_distutils/tests/test_dist.py +setuptools/_distutils/tests/test_extension.py +setuptools/_distutils/tests/test_file_util.py +setuptools/_distutils/tests/test_filelist.py +setuptools/_distutils/tests/test_install.py +setuptools/_distutils/tests/test_install_data.py +setuptools/_distutils/tests/test_install_headers.py +setuptools/_distutils/tests/test_install_lib.py +setuptools/_distutils/tests/test_install_scripts.py +setuptools/_distutils/tests/test_log.py +setuptools/_distutils/tests/test_msvc9compiler.py +setuptools/_distutils/tests/test_msvccompiler.py +setuptools/_distutils/tests/test_register.py +setuptools/_distutils/tests/test_sdist.py +setuptools/_distutils/tests/test_spawn.py +setuptools/_distutils/tests/test_sysconfig.py +setuptools/_distutils/tests/test_text_file.py +setuptools/_distutils/tests/test_unixccompiler.py +setuptools/_distutils/tests/test_upload.py +setuptools/_distutils/tests/test_util.py +setuptools/_distutils/tests/test_version.py +setuptools/_distutils/tests/test_versionpredicate.py +setuptools/_distutils/tests/unix_compat.py +setuptools/_vendor/__init__.py +setuptools/_vendor/ordered_set.py +setuptools/_vendor/pyparsing.py +setuptools/_vendor/vendored.txt +setuptools/_vendor/more_itertools/__init__.py +setuptools/_vendor/more_itertools/more.py +setuptools/_vendor/more_itertools/recipes.py +setuptools/_vendor/packaging/__about__.py +setuptools/_vendor/packaging/__init__.py +setuptools/_vendor/packaging/_manylinux.py +setuptools/_vendor/packaging/_musllinux.py +setuptools/_vendor/packaging/_structures.py +setuptools/_vendor/packaging/markers.py +setuptools/_vendor/packaging/requirements.py +setuptools/_vendor/packaging/specifiers.py +setuptools/_vendor/packaging/tags.py +setuptools/_vendor/packaging/utils.py +setuptools/_vendor/packaging/version.py +setuptools/command/__init__.py +setuptools/command/alias.py +setuptools/command/bdist_egg.py +setuptools/command/bdist_rpm.py +setuptools/command/build_clib.py +setuptools/command/build_ext.py +setuptools/command/build_py.py +setuptools/command/develop.py +setuptools/command/dist_info.py +setuptools/command/easy_install.py +setuptools/command/egg_info.py +setuptools/command/install.py +setuptools/command/install_egg_info.py +setuptools/command/install_lib.py +setuptools/command/install_scripts.py +setuptools/command/launcher manifest.xml +setuptools/command/py36compat.py +setuptools/command/register.py +setuptools/command/rotate.py +setuptools/command/saveopts.py +setuptools/command/sdist.py +setuptools/command/setopt.py +setuptools/command/test.py +setuptools/command/upload.py +setuptools/command/upload_docs.py +setuptools/extern/__init__.py +setuptools/tests/__init__.py +setuptools/tests/contexts.py +setuptools/tests/environment.py +setuptools/tests/fixtures.py +setuptools/tests/mod_with_constant.py +setuptools/tests/namespaces.py +setuptools/tests/script-with-bom.py +setuptools/tests/server.py +setuptools/tests/test_archive_util.py +setuptools/tests/test_bdist_deprecations.py +setuptools/tests/test_bdist_egg.py +setuptools/tests/test_build_clib.py +setuptools/tests/test_build_ext.py +setuptools/tests/test_build_meta.py +setuptools/tests/test_build_py.py +setuptools/tests/test_config.py +setuptools/tests/test_dep_util.py +setuptools/tests/test_depends.py +setuptools/tests/test_develop.py +setuptools/tests/test_dist.py +setuptools/tests/test_dist_info.py +setuptools/tests/test_distutils_adoption.py +setuptools/tests/test_easy_install.py +setuptools/tests/test_egg_info.py +setuptools/tests/test_extern.py +setuptools/tests/test_find_packages.py +setuptools/tests/test_glob.py +setuptools/tests/test_install_scripts.py +setuptools/tests/test_integration.py +setuptools/tests/test_manifest.py +setuptools/tests/test_msvc.py +setuptools/tests/test_msvc14.py +setuptools/tests/test_namespaces.py +setuptools/tests/test_packageindex.py +setuptools/tests/test_register.py +setuptools/tests/test_sandbox.py +setuptools/tests/test_sdist.py +setuptools/tests/test_setopt.py +setuptools/tests/test_setuptools.py +setuptools/tests/test_sphinx_upload_docs.py +setuptools/tests/test_test.py +setuptools/tests/test_unicode_utils.py +setuptools/tests/test_upload.py +setuptools/tests/test_upload_docs.py +setuptools/tests/test_virtualenv.py +setuptools/tests/test_wheel.py +setuptools/tests/test_windows_wrappers.py +setuptools/tests/text.py +setuptools/tests/textwrap.py +setuptools/tests/indexes/test_links_priority/external.html +setuptools/tests/indexes/test_links_priority/simple/foobar/index.html +tools/finalize.py +tools/ppc64le-patch.py \ No newline at end of file diff --git a/setuptools.egg-info/dependency_links.txt b/setuptools.egg-info/dependency_links.txt new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/setuptools.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/setuptools.egg-info/entry_points.txt b/setuptools.egg-info/entry_points.txt new file mode 100644 index 00000000000..9466bf63201 --- /dev/null +++ b/setuptools.egg-info/entry_points.txt @@ -0,0 +1,56 @@ +[distutils.commands] +alias = setuptools.command.alias:alias +bdist_egg = setuptools.command.bdist_egg:bdist_egg +bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm +build_clib = setuptools.command.build_clib:build_clib +build_ext = setuptools.command.build_ext:build_ext +build_py = setuptools.command.build_py:build_py +develop = setuptools.command.develop:develop +dist_info = setuptools.command.dist_info:dist_info +easy_install = setuptools.command.easy_install:easy_install +egg_info = setuptools.command.egg_info:egg_info +install = setuptools.command.install:install +install_egg_info = setuptools.command.install_egg_info:install_egg_info +install_lib = setuptools.command.install_lib:install_lib +install_scripts = setuptools.command.install_scripts:install_scripts +rotate = setuptools.command.rotate:rotate +saveopts = setuptools.command.saveopts:saveopts +sdist = setuptools.command.sdist:sdist +setopt = setuptools.command.setopt:setopt +test = setuptools.command.test:test +upload_docs = setuptools.command.upload_docs:upload_docs + +[distutils.setup_keywords] +dependency_links = setuptools.dist:assert_string_list +eager_resources = setuptools.dist:assert_string_list +entry_points = setuptools.dist:check_entry_points +exclude_package_data = setuptools.dist:check_package_data +extras_require = setuptools.dist:check_extras +include_package_data = setuptools.dist:assert_bool +install_requires = setuptools.dist:check_requirements +namespace_packages = setuptools.dist:check_nsp +package_data = setuptools.dist:check_package_data +packages = setuptools.dist:check_packages +python_requires = setuptools.dist:check_specifier +setup_requires = setuptools.dist:check_requirements +test_loader = setuptools.dist:check_importable +test_runner = setuptools.dist:check_importable +test_suite = setuptools.dist:check_test_suite +tests_require = setuptools.dist:check_requirements +use_2to3 = setuptools.dist:invalid_unless_false +zip_safe = setuptools.dist:assert_bool + +[egg_info.writers] +PKG-INFO = setuptools.command.egg_info:write_pkg_info +dependency_links.txt = setuptools.command.egg_info:overwrite_arg +depends.txt = setuptools.command.egg_info:warn_depends_obsolete +eager_resources.txt = setuptools.command.egg_info:overwrite_arg +entry_points.txt = setuptools.command.egg_info:write_entries +namespace_packages.txt = setuptools.command.egg_info:overwrite_arg +requires.txt = setuptools.command.egg_info:write_requirements +top_level.txt = setuptools.command.egg_info:write_toplevel_names + +[setuptools.finalize_distribution_options] +keywords = setuptools.dist:Distribution._finalize_setup_keywords +parent_finalize = setuptools.dist:_Distribution.finalize_options + diff --git a/setuptools.egg-info/requires.txt b/setuptools.egg-info/requires.txt new file mode 100644 index 00000000000..53bf5a16f21 --- /dev/null +++ b/setuptools.egg-info/requires.txt @@ -0,0 +1,36 @@ + +[certs] + +[docs] +sphinx +jaraco.packaging>=8.2 +rst.linker>=1.9 +jaraco.tidelift>=1.4 +pygments-github-lexers==0.0.5 +sphinx-inline-tabs +sphinxcontrib-towncrier +furo + +[ssl] + +[testing] +pytest>=6 +pytest-checkdocs>=2.4 +pytest-flake8 +pytest-cov +pytest-enabler>=1.0.1 +mock +flake8-2020 +virtualenv>=13.0.0 +pytest-virtualenv>=1.2.7 +wheel +paver +pip>=19.1 +jaraco.envs>=2.2 +pytest-xdist +sphinx +jaraco.path>=3.2.0 + +[testing:platform_python_implementation != "PyPy"] +pytest-black>=0.3.7 +pytest-mypy diff --git a/setuptools.egg-info/top_level.txt b/setuptools.egg-info/top_level.txt new file mode 100644 index 00000000000..b5ac1070294 --- /dev/null +++ b/setuptools.egg-info/top_level.txt @@ -0,0 +1,3 @@ +_distutils_hack +pkg_resources +setuptools