From 69f91e0cf42f846fb0829a7c9ffa35653c3dd66f Mon Sep 17 00:00:00 2001 From: Alessio Bogon Date: Fri, 9 Jan 2015 00:08:38 +0100 Subject: [PATCH] Exploit setuptools package_data to include cheats --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b3f5034..b9207dc 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ from setuptools import setup, find_packages -import os setup( name = 'cheat', @@ -14,7 +13,7 @@ setup( url = 'https://github.com/chrisallenlane/cheat', packages = find_packages(), package_data = { - 'cheat.cheatsheets': [f for f in os.listdir('cheat/cheatsheets') if '.' not in f] + 'cheat.cheatsheets': ['*'], }, scripts = ['bin/cheat'], install_requires = [