Exploit setuptools package_data to include cheats

This commit is contained in:
Alessio Bogon 2015-01-09 00:08:38 +01:00
parent fdbc8909cc
commit 69f91e0cf4
1 changed files with 1 additions and 2 deletions

View File

@ -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 = [