• Monty Taylor's avatar
    Replace setuptools_git with a smarter approach · d26d4301
    Monty Taylor authored
    Implement a local egg_info command that only re-generates the
    SOURCES.txt file when we need to. That is:
    
     - If there is no SOURCES.txt, make one
     - If we have run the sdist command, make one
    
    Otherwise, leave well enough alone.
    
    Also, skip doing any git processing if SKIP_GIT_SDIST is specified.
    
    This should mean that consumers of our tarballs should not get screwed
    by the need to inject git processing into the sdist.
    
    Change-Id: I163b1c153d030e79b120600a2890edeb49e1fa90
    d26d4301
extra_files.py 1.07 KB