summaryrefslogtreecommitdiff
path: root/setuptools/discovery.py
Commit message (Collapse)AuthorAgeFilesLines
* Add pruning heuristics to PackageFinder based on excludeAnderson Bravalheri2023-03-071-12/+22
|
* Remove htmlcov from auto **module** discoveryAnderson Bravalheri2023-02-271-1/+0
| | | | | | It seems that it was previously added there by mistake. After some inspection ``htmlcov`` should be a folder (by default) and therefore can only be confused by a package (not a module)
* Hotfix add htmlcov to FlatLayoutPackageFinder.DEFAULT_EXCLUDEYukihiko Shinoda2023-02-231-1/+2
|
* add htmlcov to FlatLayoutModuleFinder.DEFAULT_EXCLUDEDemian Brecht2022-11-281-0/+1
|
* Remove inadvertent splatting of the name attributeBenno Rice2022-08-191-1/+0
| | | | | | | The `name` attribute of a `Distribution` object is used by the command-line processing system and is not intended to hold the name of the distribution itself. Setting it to the name will cause the command-line processing system to have a bad time.
* Relax file types in discoveryAnderson Bravalheri2022-06-151-4/+17
|
* Disable auto-discovery when the 'configuration' attribute is passedAnderson Bravalheri2022-03-251-0/+2
|
* Avoid unnecessarily changing package_dirAnderson Bravalheri2022-03-251-0/+7
| | | | And also avoid using './' paths
* Add the upcomming toxfile.py to the list of ignored modules for flat-layoutAnderson Bravalheri2022-03-241-0/+1
|
* Add a few other reserved package/module names to discoveryAnderson Bravalheri2022-03-221-0/+11
|
* Ignore ext-modules for auto-discovery with pyproject.toml metadataAnderson Bravalheri2022-03-221-6/+21
|
* Skip discover when ext_modules are providedAnderson Bravalheri2022-03-221-1/+9
|
* Ensure empty package_dir is not replaced on auto-discoveryAnderson Bravalheri2022-03-211-2/+9
|
* Refactor ConfigDiscovery._root_dir as a propertyAnderson Bravalheri2022-03-211-3/+5
|
* Simplify package name condition for flat layoutAnderson Bravalheri2022-03-201-9/+5
|
* Prevent setup_requires patches from activating auto-discoveryAnderson Bravalheri2022-03-191-1/+6
|
* Fix error in doctest on WindowsAnderson Bravalheri2022-03-181-4/+11
|
* Add type hints to setuptools.discoveryAnderson Bravalheri2022-03-181-29/+42
| | | | This helps to increase confidence in the code
* Improve logs/docstrings for setuptools.discoveryAnderson Bravalheri2022-03-181-2/+11
|
* Prevent accidental multi-package dist with auto-discoveryAnderson Bravalheri2022-03-181-3/+38
| | | | | | | | | As discussed in https://discuss.python.org/t/help-testing-experimental-features-in-setuptools/13821/41 automatically scanning all the directories might be very error-prone. One way of avoiding that is to error when multiple top-level packages are automatically discovered.
* Remove stubs when trying name auto-discoveryAnderson Bravalheri2022-03-181-1/+1
|
* Add function to remove stubs from a list of packagesAnderson Bravalheri2022-03-181-1/+10
|
* Refactor function for finding top-level packages in auto-discoveryAnderson Bravalheri2022-03-181-1/+29
|
* Allow type stubs for FlatLayoutPackageFinderAnderson Bravalheri2022-03-181-4/+11
|
* Add other names to the list of excluded packages for auto-discoveryAnderson Bravalheri2022-03-181-0/+9
|
* Fix problem with path objects for WindowsAnderson Bravalheri2022-03-131-1/+1
|
* Allow expand.find_packges to fill package_dirAnderson Bravalheri2022-03-091-2/+2
|
* Externalize find_parent_package from discovery classAnderson Bravalheri2022-03-091-30/+47
|
* Allow package_dir autodiscovery for setup.cfgAnderson Bravalheri2022-03-091-3/+4
|
* Add venv to the default exclude listAnderson Bravalheri2022-03-071-0/+1
|
* Don't overwrite if the user specifies empty packages/py_modulesAnderson Bravalheri2022-03-051-1/+1
|
* Ignore build and dist folders in flat-layoutAnderson Bravalheri2022-03-051-0/+2
|
* Ignore some other folders and files by defaultAnderson Bravalheri2022-03-051-0/+4
|
* Exclude 'bin' dir in discoveryAnderson Bravalheri2022-03-051-0/+1
|
* Attempt to improve autodocAnderson Bravalheri2022-03-051-0/+2
|
* Fix path handling on WindowsAnderson Bravalheri2022-03-051-1/+3
|
* Exclude subpackages in FlatLayoutPackageFinderAnderson Bravalheri2022-03-051-2/+6
|
* Add implementation for automatic config discoveryAnderson Bravalheri2022-03-051-5/+177
|
* Refactor finders to share code via common baseAnderson Bravalheri2022-03-051-80/+69
|
* Add module finderAnderson Bravalheri2022-03-051-15/+81
|
* Add a more careful package finder for flat-layout use caseAnderson Bravalheri2022-03-051-0/+67
|
* Move *PackageFinder to the new 'discovery' moduleAnderson Bravalheri2022-03-051-0/+89
Following up the discussion in #2887 and #2329, it seems that setuptools is moving towards more automatic discovery features. PackageFinder and PEP420PackageFinder are fundamental pieces of this puzzle and grouping together them togheter with the code implementing these new discovery features make a lot of sense.