Add backend dir to setup and update .kv and main.kv in package_data
This commit is contained in:
parent
ab8731e9f7
commit
89cd37e0fa
13
setup.py
13
setup.py
|
@ -76,10 +76,15 @@ if __name__ == "__main__":
|
||||||
]
|
]
|
||||||
|
|
||||||
if sys.version_info[0] == 3:
|
if sys.version_info[0] == 3:
|
||||||
packages.extend(['pybitmessage.bitmessagekivy', 'pybitmessage.bitmessagekivy.baseclass'])
|
packages.extend(
|
||||||
|
[
|
||||||
|
'pybitmessage.bitmessagekivy',
|
||||||
|
'pybitmessage.bitmessagekivy.baseclass'
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
if os.environ.get('INSTALL_TESTS', False):
|
if os.environ.get('INSTALL_TESTS', False):
|
||||||
packages.append('pybitmessage.mock')
|
packages.extend(['pybitmessage.mock', 'pybitmessage.backend'])
|
||||||
|
|
||||||
# this will silently accept alternative providers of msgpack
|
# this will silently accept alternative providers of msgpack
|
||||||
# if they are already installed
|
# if they are already installed
|
||||||
|
@ -138,8 +143,8 @@ if __name__ == "__main__":
|
||||||
package_dir={'pybitmessage': 'src'},
|
package_dir={'pybitmessage': 'src'},
|
||||||
packages=packages,
|
packages=packages,
|
||||||
package_data={'': [
|
package_data={'': [
|
||||||
'bitmessageqt/*.ui', 'bitmsghash/*.cl', 'sslkeys/*.pem',
|
'bitmessageqt/*.ui', 'bitmsghash/*.cl', 'sslkeys/*.pem', 'bitmessagekivy/main.kv',
|
||||||
'translations/*.ts', 'translations/*.qm', 'default.ini', 'sql/*.sql',
|
'bitmessagekivy/kv/*.kv', 'translations/*.ts', 'translations/*.qm', 'default.ini', 'sql/*.sql',
|
||||||
'images/*.png', 'images/*.ico', 'images/*.icns', 'bitmessagekivy/screens_data.json'
|
'images/*.png', 'images/*.ico', 'images/*.icns', 'bitmessagekivy/screens_data.json'
|
||||||
]},
|
]},
|
||||||
data_files=data_files,
|
data_files=data_files,
|
||||||
|
|
Reference in New Issue
Block a user