mirror of https://github.com/cheat/cheat.git
Exploit setuptools package_data to include cheats
This commit is contained in:
parent
fdbc8909cc
commit
69f91e0cf4
3
setup.py
3
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 = [
|
||||
|
|
Loading…
Reference in New Issue