Fixes issue where pytest-runner-N. N would satisfy the installation of pytest. See this comment for more context on the motivation for this change. It seems to be the case that in the Python ecosystem, all build tools must run without any dependencies build, runtime, or otherwise. At such a point that a mechanism exists that allows build tools to have dependencies, Setuptools will adopt it.
The approach had unintended consequences, causing sdist installs to be missing files. In this way, files removed from the specification will not linger in the manifest.
As a result, Setuptools no longer supports self upgrade or installation in the general case. Instead, users are directed to use pip to install and upgrade using the wheel distributions of setuptools. Users are welcome to contrive other means to install or upgrade Setuptools using other means, such as pre-installing the Setuptools dependencies with pip or a bespoke bootstrap tool, but such usage is not recommended and is not supported.
As discovered in , not all versions of pip will successfully install Setuptools from its pre-built wheel. The proposed workaround is to always upgrade Setuptools first prior to upgrading other packages that would upgrade Setuptools. Bytecode on Python 3. See , This change required the removal of the change for and pip , introduced in This allows scraping tools to read metadata without a need to download entire packages. The same arguments as for find are accepted.
Restores behavior found prior to Systems requiring Python 3. See Distribute for history. See also This caused global-exclude. Updated setuptools.
See for rationale. Use certifi. Fixes pip Improves compatibility with other packages that might have previously patched distutils functions i. Fixes tox Introduce the private monkey module to encapsulate the distutils monkeypatching behavior. Now use Warehouse by default for upload , patching distutils. Users are urged to use Read The Docs instead. Re-release of When used correctly this allows a single compiled extension to work on all future versions of CPython 3.
Style updates. See , , , , , See , , and Fixed documentation builders by allowing setup. More style cleanup. See , , , , This project hopes that that few if any environments find it necessary to retain the old behavior, and intends to drop support for it altogether in a future release.
Please report any relevant concerns in the ticket for this change. More style updates. See , , See , , , , , , and Updated style in much of the codebase to match community expectations.
Particularly : Windows SDK 6. Renamed setuptools. If this was a feature you cared about, please comment in the ticket. Except on Python 2. Issue : Fix issue with extra environment marker processing in WorkingSet due to refactor in v Issue : Fixed intermittent test failures.
Issue : Provide better context when package metadata fails to decode in UTF Issue : Disabled support for environment markers introduced in v New release process that relies on bumpversion and Travis CI for continuous deployment.
Project versioning semantics now follow semver precisely. Issue : Moved hosting to Github from Bitbucket. Issues have been migrated, though all issues and comments are attributed to bb-migration. The Bitbucket project will be retained for the indefinite future, but Github now hosts the canonical project repository.
Requirement objects are now a subclass of packaging. Requirement , allowing any environment markers and url if any to be affiliated with the requirement. Issue : Correct regression in parsing of multiple version specifiers separated by commas and spaces. Issue : Restore compatibility for legacy versions by bumping to packaging Fixes Issue Packages released with invalid local versions should be re-released using the proper local version syntax, e.
Added support for using passwords from keyring in the upload command. See the upload docs for details. Issue : Once again omit the package metadata egg-info from the list of outputs in --record. This version of setuptools can no longer be used to upgrade pip earlier than 6. Issue : Correct regression incurred in Restore compatibility for PyPy 3 compatibility lost in Added a new entry script setuptools.
Use this command to launch distutils-only packages under setuptools in the same way that pip does, causing the setuptools monkeypatching of distutils to be invoked prior to invoking a script.
For example:. Issue : Fix dual manifestation of Extension class in extension packages installed as dependencies when Cython is present. Issue : Correct TypeError when getfilesystemencoding returns None. Issue : Clarified the license as MIT. Issue : Use direct invocation of importlib. Issue : Implement new technique for readily incorporating dependencies conditionally from vendored copies or primary locations.
Adds a new dependency on six. BB Pull Request : Add missing whitespace to multiline string literals. Issue : Cast version to string using default encoding to avoid creating Unicode types on Python 2 clients.
Issue : In Powershell downloader, use explicit rendering of strings, rather than rely on repr , which can be incorrect especially on Python 2. Issue : Use RawConfigParser for parsing. Interpolated values are no longer honored in. Issue : Prevent infinite recursion when a SandboxViolation or other UnpickleableException occurs in a sandbox context with setuptools hidden. Fixes regression introduced in Setuptools Issue : Avoid errors in FileMetadata when the metadata directory is broken.
Issue : Refactored logic for Issue fix to re-use metadata loading from Provider. Made test. Issue and BB Pull Request : Add experimental support for reading the version info from distutils-installed metadata rather than using the version in the filename.
Issue : Correct regression in invocation of superclass on old-style class on Python 2. In preparation for dropping support for Python 3. Fix dictionary mutation during iteration. Issue : Test command now always invokes unittest, even if no test suite is supplied. Correct another regression in setuptools.
Issue : Correct regression in setuptools. BB Pull Request : Setuptools now allows disabling of the manipulation of the sys. During any install operation with manipulation disabled, setuptools packages will be appended to sys. Future versions may change the default behavior to disable manipulation. Upgrade to vendored packaging Issue : Fix failure in test suite.
However, for systems with this build of setuptools, Cython will be downloaded on demand. Issue : Fixed test failure on OS X. Issue : Add support for range operators on environment marker evaluation.
Issue : Do not use internal importlib. Issue : Disallow console scripts with path separators in the name. Removes unintended functionality and brings behavior into parity with pip. BB Pull Request : Better error messages for errors in parsed requirements. BB Pull Request : Removed setuptools. BB Pull Request : Address deprecation warning due to usage of imp module. Updated to Packaging Fix setuptools. Note that zc. This expectation has since been changed, but older versions of buildout may experience problems.
See Buildout for details. Issue : Replace deprecated usage with recommended usage of EntryPoint. Issue : When creating temporary egg cache on Unix, use mode for creating the directory to avoid the subsequent warning if the directory is group writable. Issue : Update Distribution. Issue : Removed undesirable behavior from test runs, preventing write tests and installation to system site packages.
Bootstrap script now accepts --to-dir to customize save directory or allow for re-use of existing repository of setuptools versions. See BB Pull Request for background. Instead, the user must pass --user in all cases to install packages to the user site packages.
Issue : Include pytest. Intermittent connectivity issues caused the release process to fail and PyPI uploads no longer accept files for According to fde, this functionality was added to support upgrades from old Distribute versions, 0. Issue Added documentation on building setuptools documentation. Issue : Fix script header generation on Windows.
Tests would be nice. Restore setuptools. For the future, tools should construct a CommandSpec explicitly. Issue : Setuptools now support multiple entities in the value for build. This means that systems with a specified executable whose name has spaces in the path must be updated to escape or quote that value. Issue : Formalize and restore support for any printable character in an entry point name. Expose EntryPoint. Deprecated all uses of EntryPoint. Apps currently invoking ep.
Pip : Report deprecation warning at stacklevel 2 for easier diagnosis. Issue : Since Setuptools 6. This release adds support for indicating the dependent packages while maintaining support for a VersionConflict when no dependent package context is known. New unit tests now capture the expected interface. Interop 3 : Upgrade to Packaging Issue : Fix regression in entry point name parsing.
Deprecated use of EntryPoint. Passing a boolean to a function to select behavior is an anti-pattern. Instead use Entrypoint. Substantial refactoring of all unit tests. Tests are now much leaner and re-use a lot of fixtures and contexts for better clarity of purpose. Issue : Added a compatibility implementation of sdist. Issue : Fixed issue installing pure distutils packages. Issue : Removed built-in support for subversion.
Projects wishing to retain support for subversion will need to use a third party library. Issue : Updated setuptools to hide its own loaded modules during installation of another package.
This change will enable setuptools to upgrade or downgrade itself even when its own metadata and implementation change. Prefer vendored packaging library as recommended.
Issue : Suppress warnings about Version format except in select scenarios such as installation. BB Pull Request 85 : Search egg-base when adding egg-info to manifest.
Upgrade packaging to Issue : Add warning when a version is parsed as legacy. This warning will make it easier for developers to recognize deprecated version numbers. Fixes failure with buildout. This choice of location means the files can be readily managed removed, ignored. Additionally, later phases or invocations of setuptools will not detect the package as already installed and ignore it for permanent install See This change is indicated as backward-incompatible as installations that depend on the installation in the current directory will need to account for the new location.
The files will need to be manually moved or will be retrieved again. Most use cases will require no attention. Issue : When resolving package versions, a VersionConflict now reports which package previously required the conflicting version.
Issue : Fixed regression in pip install due to egg-info directories being omitted. Re-opens Issue Issue : Fixed regression with namespace package handling on single version, externally managed installs. Issue : When building a distribution, Setuptools will no longer match default files using platform-dependent case sensitivity, but rather will only match the files if their case matches exactly. Other filenames affected are:.
Any users producing distributions with filenames that match those above case-insensitively, but not case-sensitively, should rename those files in their repository for better portability.
Issue : The egg-info directory is now no longer included in the list of outputs. Issue : Setuptools now patches distutils msvc9compiler to recognize the specially-packaged compiler package for easy extension module support on Python 2. Python 3, supporting environments where builtins have been patched to make Python 3 look more like Python 2. Issue : Based on real-world performance measures against 5.
Issue : Fix typo in 5. Issue : Corrected regression in execfile implementation for Python 2. Clients that package many modules in the same zip file will see some improvement in startup time by enabling this feature. This feature is not enabled by default because it causes a substantial increase in memory usage.
Issue : Make svn tagging work on the new style SVN metadata. Thanks cazabon! Added a Developer Guide to the official documentation. Issue : Implemented more robust cache invalidation for the ZipImporter, building on the work in Issue Issue : Restored script templates.
Renamed script templates to end with. Issue : Re-release of 3. Issue : Use legacy StringIO behavior for compatibility under pbr. Issue : Setuptools 3. Issue : setup. Extend Issue workaround to include all Python 3 versions prior to 3. Issue : Improved handling of Unicode filenames when building manifests.
Can anybody help me and us? I threw away my old backtrack 5R3. Wifiphisher would not work on that system and I guess - it will not. I downloaded the latest Kali Can I install it on Debian 10? I have the same problem and your solutions do not help. ImportError: No module named setuptools Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment.
Linked pull requests. You signed in with another tab or window. Reload to refresh your session. May 15, May 13, May 10, Mar 25, Mar 21, Mar 8, Feb 9, Jan 19, Jan 12, Jan 1, Dec 31, Dec 1, Nov 25, Nov 23, Oct 29, Oct 28, Oct 27, Oct 7, Aug 21, Apr 22, Apr 5, Apr 3, Feb 5, Feb 3, Jan 29, Jan 27, Dec 11, Nov 13, Nov 12, Oct 26, Sep 23, Sep 21, Sep 18, Sep 16, Aug 17, Jul 9, May 19, Apr 28, Mar 18, Mar 17, Mar 15, Mar 6, Feb 6, Feb 4, Jan 5, Dec 25, Dec 4, Nov 27, Nov 20, Nov 11, Nov 10, Oct 12, Sep 15, Aug 28, Aug 1, Jul 31, Jul 26, Jul 24, Jul 23, Jul 14, Jul 13, Jun 1, Apr 27, Apr 18, Apr 15, Apr 10, Apr 8, Mar 26, Mar 11, Mar 3, Feb 23, Feb 13, Jan 28, Jan 23, Jan 15, Dec 16, Dec 15, Dec 14, Dec 10, Dec 8, Dec 3, Oct 30, Oct 19, Oct 16, Oct 14, Oct 1, Sep 27, Sep 14, Aug 29,
0コメント