Skip to content

Commit

Permalink
ensure .git is not included in package (fixes #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Jan 5, 2017
1 parent a40ee66 commit 12bf649
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Expand Up @@ -49,7 +49,10 @@ def list_package_data(root):
"""
paths = []
for base, dirs, files in os.walk(root):
paths.extend([os.path.join(base, name) for name in files])
paths.extend([
os.path.join(base, name) for name in files
if name not in ('.git',)
])
return paths


Expand Down

0 comments on commit 12bf649

Please sign in to comment.