Browse Source

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

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

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