Code Monkey home page Code Monkey logo

Comments (2)

abravalheri avatar abravalheri commented on August 23, 2024

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:

  1. 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/
  2. 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.

VladimirFokow avatar VladimirFokow commented on August 23, 2024
  • this comment describes examples where these files would be useful

from setuptools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.