mirror of
https://github.com/Erreur32/cheat.git
synced 2025-03-13 20:18:47 +01:00
Exploit setuptools package_data to include cheats
This commit is contained in:
parent
fdbc8909cc
commit
69f91e0cf4
1 changed files with 1 additions and 2 deletions
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…
Reference in a new issue