Comments (2)
Hi @VladimirFokow please note that things are not very simple when it comes to .egg-info
.
The .egg-info
folders contain entry_points.txt
, which in turn is used by importlib.metadata
.
Packages may need to rely on that mechanism to bootstrap plugins during build time. Setuptools itself currently uses that mechanism.
Regarding your comments:
Suggested solutions:
- At the very least, this behavior should be acknowledged in the Docs, and there should be advice to add the appropriate patterns for each command to
.gitignore
, e.g.:*.egg-info/
,build/
,dist/
- Moreover, this issue:
- needs investigation of the origins of this mechanism; is this behavior actually needed for something, or it is truly a "historical artifact nobody thought of addressing" and should be cleaned up.
- if it's needed and should stay - then it definitely should be described in the documentation: good introduction, rationale, as well as advice and a good example how to deal with it, or how people usually deal with it.
For this we need all the help we can get. Please feel free to proceed with the investigation and/or submit pull requests (we can iteratively find what is the best wording for the docs, but in general it is good to assume that there is no clear cut recommendation that will fit everyone, and that different workflows/usages will entail different "good practices").
from setuptools.
- this comment describes examples where these files would be useful
from setuptools.
Related Issues (20)
- _validate_pyproject has inconsistent provenance HOT 3
- Emergent ruff error with 71.0 release HOT 7
- Emergent error in docs builds HOT 13
- [BUG] 71.0.0 missing setuptools\cli-64.exe HOT 10
- [BUG] 71.0.0 fails with `backports.tarfile` on Python 3.8 when other backports imported HOT 23
- [BUG] 71.0.0 fails `PyInstaller` builds HOT 5
- [BUG] 71.0.0 fails with `'importlib_metadata' has no attribute 'EntryPoints'` on Python 3.8 HOT 2
- [BUG] vendor package `typeguard` installed to entrypoints HOT 7
- [BUG] Setuptools 71.0.1 provides only partial metadata for its vendored dependencies HOT 1
- [BUG] TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero' HOT 15
- [BUG] FileNotFoundError jaraco/text/Lorem ipsum.txt when importing pkg_resources HOT 6
- [BUG] upgraded vendor copy of importlib_metadata breaks packages HOT 2
- [BUG] module 'importlib_metadata' has no attribute 'EntryPoints' HOT 3
- Disable excessive reporting
- [FR] Add Path support to data-files HOT 1
- [BUG] Using canonicalize_version from _vendor instead of extern breaks packages HOT 8
- [BUG] setuptools module version issue HOT 3
- ModuleNotFoundError: No module named 'setuptools.extern HOT 3
- [BUG] setuptools 71.0.3 vendored typeguard crash on Python 3.8: entry_points() got an unexpected keyword argument 'group' HOT 2
- [BUG] TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero' with setuptools 71.x HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setuptools.