fix snap build
* use a different way to avoid depending on i18n in tox * add __init__.py files to new packages
This commit is contained in:
parent
c9e87438ae
commit
9ef56239f8
|
@ -0,0 +1 @@
|
|||
#
|
2
setup.py
2
setup.py
|
@ -29,7 +29,7 @@ import sys
|
|||
|
||||
setup_kwargs = {}
|
||||
# dpkg build uses build and install, tox uses sdist
|
||||
if sys.argv[1] in ("build", "install"):
|
||||
if 'SUBIQUITY_NO_I18N' not in os.environ:
|
||||
from DistUtilsExtra.command import build_extra
|
||||
from DistUtilsExtra.command import build_i18n
|
||||
setup_kwargs['cmdclass'] = {'build': build_extra.build_extra,
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
#
|
Loading…
Reference in New Issue