summaryrefslogtreecommitdiff
path: root/setuptools/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into fix_889_and_non-ascii_in_setup.cfg_take_2Jason R. Coombs2019-01-251-4/+38
|\
| * Add custom deprecation warning classesJunhan Huang2018-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | `DeprecationWarning` is not visible by default in the latest versions of CPython, so this switches the deprecation warnings in setuptools and pkg_resources over to custom classes derived from `Warning` instead. Fixes issue github issue #159 Co-authored-by: Junhan Huang <robin.j.huang@gmail.com> Co-authored-by: Marton Pono <marci93@gmail.com>
| * Rename find_namepaces_ns to find_namespace_packages (#1423)Carsten Klein2018-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix #1419 PEP420: add find_namespace: directive * fix #1419 PEP420: add find_namespace: directive to documentation * fix #1419 PEP420: add tests * fix #1419 PEP420: clean up code * fix #1419 PEP420: fix typo in documentation * fix #1419 PEP420: fix typo in documentation * fix #1419 PEP420: clean up code * fix #1419 PEP420: add changelog entry * fixup! fix #1419 PEP420: add tests * fix #1419 PEP420: cleanup code refactor markers * #1420: Rename find_namespace_ns to find_namespace_packages * #1420: update changelog entry
| * Add find_packages_ns()Carsten Klein2018-07-041-1/+10
| | | | | | | | | | This fixes GH #97 by introducing an alternate version of find_packages that works with PEP 420 namespace packages.
| * Use Python 3 syntax for new-style clasessJason R. Coombs2018-06-031-1/+3
| |
| * support `setup_requires` in setup.cfgBenoit Pierre2017-10-161-1/+21
| |
* | improve encoding handling for `setup.cfg`Benoit Pierre2017-10-251-0/+34
|/ | | | | | | | Support the same mechanism as for Python sources for declaring the encoding to be used when reading `setup.cfg` (see PEP 263), and return the results of reading it as Unicode. Fix #1062 and #1136.
* Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-1/+1
| | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
* Merge with masterJason R. Coombs2017-01-161-1/+1
|\
| * Remove unused importsJason R. Coombs2017-01-161-1/+1
| |
* | Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-1/+1
|/
* Fix quantity of blank lines.stepshal2016-10-181-1/+0
|
* Find nested packages with excluded parentTim Heap2016-10-051-6/+10
| | | | | | | `find_packages(exclude=['pkg'])` should still find and include the `pkg.subpkg` package. Fixes #808
* Do not search excluded directories for packagesTim Heap2016-09-221-48/+35
| | | | | | | | | | Previously, PackageFinder.find would search the whole directory tree looking for packages, then remove excluded packages from this list. This made building a package very slow under some circumstances where the file tree was large. This change stops PackageFinder.find from descending in to directories that will never be included.
* Remove private prefix from monkey as monkey module explicitly declares that ↵Jason R. Coombs2016-09-041-1/+1
| | | | all functions are private.
* Move monkeypatching in package module into monkey.Jason R. Coombs2016-09-041-35/+3
|
* Introduce a new monkey module to encapsulate the monkeypatching.Jason R. Coombs2016-09-041-3/+3
|
* Provide forward compatibility for Warehouse as the default repository for ↵Jason R. Coombs2016-09-011-0/+17
| | | | the upload command.
* Only apply findall patch on affected Pythons.Jason R. Coombs2016-09-011-3/+13
|
* Add missing blank lines after class or function definition.stepshal2016-07-211-0/+2
|
* Fix quantity of blank lines after code object.stepshal2016-07-131-0/+4
|
* Always use Python 3 version of mapJason R. Coombs2016-01-161-1/+1
|
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-311-6/+1
| | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-3/+6
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-311-25/+44
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Only return results that are files. Fixes failing test and corrects ↵Jason R. Coombs2015-09-191-1/+2
| | | | | | | | additional regression in 18.3.
| * Another refactor of findall, this time separating the simple walk / join ↵Jason R. Coombs2015-09-071-11/+18
| | | | | | | | operation from the conditional relative path.
| * Restore old behavior for calculating the base. Fixes failing test and fixes ↵Jason R. Coombs2015-09-061-1/+3
| | | | | | | | #425.
| * MergeJason R. Coombs2015-09-061-2/+3
| |\
| | * Update docstring and test to match long-standing expectation in behavior.Jason R. Coombs2015-09-061-2/+3
| | |
| * | Use relpath to produce results relative to 'dir'Jason R. Coombs2015-08-301-8/+3
| | |
| * | Replace initialize/inject loop with a list comprehensionJason R. Coombs2015-08-301-9/+16
| | |
| * | Add reference to bug reportJason R. Coombs2015-08-301-1/+1
| | |
| * | Prefer preceding line commentsJason R. Coombs2015-08-301-2/+4
| | |
| * | Allow dict.update to do the iterationJason R. Coombs2015-08-301-2/+1
| | |
| * | Replace comment with docstring. Fixes #423Jason R. Coombs2015-08-301-1/+4
| | |
| * | Allow dict.update to do the iterationJason R. Coombs2015-08-301-3/+2
| |/
| * Remove unused _all_dirs. Prefer 'candidate' to 'suitable'. Update documentation.Jason R. Coombs2015-08-071-15/+8
| |
| * Big performance fix for find_packages by ignoring hidden dirs earlierLuke Plant2015-07-201-2/+12
| |
* | Merge with 10.2.1Jason R. Coombs2015-01-021-1/+0
|\ \ | |/ | | | | | | --HG-- branch : feature/issue-229
| * Remove unused importJason R. Coombs2014-12-291-1/+0
| |
* | Trying a new technique. In this approach, setuptools is aware of its ↵Jason R. Coombs2014-11-161-0/+2
| | | | | | | | | | | | | | dependencies and when imported makes sure the vendored versions are present on sys.path. --HG-- branch : feature/issue-229
* | Merge with masterJason R. Coombs2014-11-161-5/+1
|\ \ | |/ | | | | | | --HG-- branch : feature/issue-229
| * Remove Python 2.5 compatibility for sys.dont_write_bytecodeJason R. Coombs2014-10-251-4/+0
| |
| * Fix #277, data files in symbol link directory are not included issueVictor Lin2014-10-231-1/+1
| | | | | | | | | | --HG-- branch : bugfix-277
* | Use six for Python 2 compatibilityJason R. Coombs2014-07-051-1/+2
|/ | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Restore traversal of symbolic links in find_packages. Fixes #195.Jason R. Coombs2014-05-031-1/+1
|
* Exclude children of excluded parents when doing package discovery. Fixes #184.3.4.4Jason R. Coombs2014-04-111-0/+17
|
* Move the transform operation into the generator expression.Jason R. Coombs2014-03-231-4/+2
|
* Reindent docstringJason R. Coombs2014-03-221-13/+13
|