Chris McDonough
2012-03-27 10d85b8605f8062cc76d3364e73a219364cdb95b
generate a MANIFEST rather than a MANIFEST.in
1 files deleted
1 files modified
733 ■■■■■ changed files
MANIFEST.in 720 ●●●●● patch | view | raw | blame | history
manifestgen.py 13 ●●●● patch | view | raw | blame | history
MANIFEST.in
File was deleted
manifestgen.py
@@ -4,7 +4,7 @@
A git filter for automated manifest regeneration at "git add" time.  See
http://progit.org/book/ch7-2.html for more info about git filters.  This
script just echoes back what comes to it on stdin to stdout, but it also
regenerates a MANIFEST.in file as a side effect.
regenerates a MANIFEST file as a side effect.
Add this script somewhere to your operating system's $PATH (executable as
``manifestgen.py``).
@@ -20,12 +20,11 @@
    * filter=manifestgen
Whenever you use ``git add`` in the project, the MANIFEST.in file at the
project root will be regenerated (and will include the file you've just
added).  This will happen for each and every file added *except* MANIFEST.in
itself.
Whenever you use ``git add`` in the project, the MANIFEST file at the project
root will be regenerated (and will include the file you've just added).  This
will happen for each and every file added *except* MANIFEST itself.
The generated MANIFEST.in will have a comment at the top of it with the epoch
The generated MANIFEST will have a comment at the top of it with the epoch
time it was generated.
Setting the OS environment variable DEBUG_MANIFESTGEN will send informational
@@ -79,7 +78,7 @@
marker = '###--- generated by manifestgen at %s ---###\n'
marker_re = re.compile(marker % '\\d+')
manifest = 'MANIFEST.in'
manifest = 'MANIFEST'
def debug(msg):
    if 'DEBUG_MANIFESTGEN' in os.environ: