mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-03 19:42:17 +01:00
Use find_packages from setuptools to identify packages
This commit is contained in:
parent
76a91ce358
commit
fdbc8909cc
1 changed files with 2 additions and 6 deletions
8
setup.py
8
setup.py
|
@ -1,4 +1,4 @@
|
||||||
from setuptools import setup
|
from setuptools import setup, find_packages
|
||||||
import os
|
import os
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
@ -12,11 +12,7 @@ setup(
|
||||||
'administrators of options for commands that they use frequently, but not '
|
'administrators of options for commands that they use frequently, but not '
|
||||||
'frequently enough to remember.',
|
'frequently enough to remember.',
|
||||||
url = 'https://github.com/chrisallenlane/cheat',
|
url = 'https://github.com/chrisallenlane/cheat',
|
||||||
packages = [
|
packages = find_packages(),
|
||||||
'cheat',
|
|
||||||
'cheat.cheatsheets',
|
|
||||||
'cheat.test',
|
|
||||||
],
|
|
||||||
package_data = {
|
package_data = {
|
||||||
'cheat.cheatsheets': [f for f in os.listdir('cheat/cheatsheets') if '.' not in f]
|
'cheat.cheatsheets': [f for f in os.listdir('cheat/cheatsheets') if '.' not in f]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue