do not package .gitignore into pypi package (fixes #255)

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remotes/origin/4.0-pre-not-stable
Nico Schottelius 11 years ago
parent 3c0790f080
commit 746d9ec12b
  1. 5
      setup.py

@ -5,6 +5,11 @@ import os
def data_finder(data_dir):
entries = []
for name in os.listdir(data_dir):
# Skip .gitignore files
if name == ".gitignore":
continue
entry = os.path.join(data_dir, name)
if os.path.isdir(entry):
entries.extend(data_finder(entry))

Loading…
Cancel
Save