title: Python zip folder without including './' (current directory)
body: <p>I'm trying to zip the content of the <code>test</code> folder:</p>
  
  <pre><code>first.txt
  pof/
  pof/second.txt
  </code></pre>
  
  <p>If I <code>cd</code> into <code>test</code> then zip it using</p>
  
  <pre><code>zip -r folder.zip *
  </code></pre>
  
  <p>and check the resulting archive with</p>
  
  <pre><code>zipinfo folder.zip
  </code></pre>
  
  <p>I get this output:</p>
  
  <pre><code>Archive:  folder.zip
  Zip file size: 7573 bytes, number of entries: 3
  -rw-r--r--  3.0 unx     6473 tx defN 16-Mar-11 10:19 first.txt
  drwxr-xr-x  3.0 unx        0 bx stor 16-Mar-11 10:20 pof/
  -rw-r--r--  3.0 unx     2841 tx defN 16-Mar-11 10:20 pof/second.txt
  3 files, 9314 bytes uncompressed, 7113 bytes compressed:  23.6%
  </code></pre>
  
  <p>Everything seems to be working as expected but if I zip the same folder using</p>
  
  <pre><code>shutil.make_archive('folder', 'zip', 'test')
  </code></pre>
  
  <p>then check the archive with </p>
  
  <pre><code>zipinfo folder.zip
  </code></pre>
  
  <p>I get this output:</p>
  
  <pre><code>Archive:  folder.zip
  Zip file size: 7497 bytes, number of entries: 4
  drwxr-xr-x  2.0 unx        0 b- defN 16-Mar-11 10:28 ./
  drwxr-xr-x  2.0 unx        0 b- defN 16-Mar-11 10:20 pof/
  -rw-r--r--  2.0 unx     6473 b- defN 16-Mar-11 10:19 first.txt
  -rw-r--r--  2.0 unx     2841 b- defN 16-Mar-11 10:20 pof/second.txt
  4 files, 9314 bytes uncompressed, 7113 bytes compressed:  23.6%
  </code></pre>
  
  <p>What I don't like is that the <code>./</code> is included in the zip archive generated by Python: how do I avoid this?</p>