Skip to content
Snippets Groups Projects
Commit 77672b9a authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Use find_packages to discover packages

issue7963
review253111002
parent 42ae0907
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
import os
import re
from configparser import ConfigParser
from setuptools import setup
from setuptools import setup, find_packages
def read(fname):
......@@ -66,10 +66,10 @@
download_url=download_url,
keywords='tryton account invoice',
package_dir={'trytond.modules.account_invoice': '.'},
packages=[
'trytond.modules.account_invoice',
'trytond.modules.account_invoice.tests',
],
packages=(
['trytond.modules.account_invoice'] +
['trytond.modules.account_invoice.%s' % p for p in find_packages()]
),
package_data={
'trytond.modules.account_invoice': (info.get('xml', [])
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', '*.fodt',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment