More "setup.py" integration

This commit is contained in:
Biryuzovye Kleshni 2018-06-24 15:37:38 +00:00
parent 721ad8c61a
commit 74f1008559
2 changed files with 8 additions and 4 deletions

View File

@ -6,7 +6,10 @@ addons:
packages:
- build-essential
- libcap-dev
- libssl-dev
install:
- pip install -r requirements.txt
- python setup.py install
script: pybitmessage -t
script:
- pybitmessage -t
- python setup.py test

View File

@ -12,7 +12,7 @@ from src.version import softwareVersion
EXTRAS_REQUIRE = {
'gir': ['pygobject'],
'notify2': ['notify2'],
'pyopencl': ['pyopencl'],
'pyopencl': ['numpy', 'pyopencl'],
'prctl': ['python_prctl'], # Named threads
'qrcode': ['qrcode'],
'sound;platform_system=="Windows"': ['winsound']
@ -102,8 +102,9 @@ if __name__ == "__main__":
package_dir={'pybitmessage': 'src'},
packages=packages,
package_data={'': [
'bitmessageqt/*.ui', 'bitmsghash/*.cl', 'sslkeys/*.pem',
'translations/*.ts', 'translations/*.qm',
'bitmessageqt/*.ui', 'translations/*.ts', 'translations/*.qm',
'bitmsghash/*.cl', 'workprover/*.cl', 'workprover/fastsolver/*',
'sslkeys/*.pem',
'images/*.png', 'images/*.ico', 'images/*.icns'
]},
data_files=[