mirror of
https://github.com/cheat/cheat.git
synced 2025-04-16 06:26:06 +02:00
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
|
from setuptools import setup, find_packages
|
||||||
import os
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = 'cheat',
|
name = 'cheat',
|
||||||
@ -14,7 +13,7 @@ setup(
|
|||||||
url = 'https://github.com/chrisallenlane/cheat',
|
url = 'https://github.com/chrisallenlane/cheat',
|
||||||
packages = find_packages(),
|
packages = find_packages(),
|
||||||
package_data = {
|
package_data = {
|
||||||
'cheat.cheatsheets': [f for f in os.listdir('cheat/cheatsheets') if '.' not in f]
|
'cheat.cheatsheets': ['*'],
|
||||||
},
|
},
|
||||||
scripts = ['bin/cheat'],
|
scripts = ['bin/cheat'],
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user