More "setup.py" integration
This commit is contained in:
parent
721ad8c61a
commit
74f1008559
|
@ -6,7 +6,10 @@ addons:
|
||||||
packages:
|
packages:
|
||||||
- build-essential
|
- build-essential
|
||||||
- libcap-dev
|
- libcap-dev
|
||||||
|
- libssl-dev
|
||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- python setup.py install
|
- python setup.py install
|
||||||
script: pybitmessage -t
|
script:
|
||||||
|
- pybitmessage -t
|
||||||
|
- python setup.py test
|
||||||
|
|
7
setup.py
7
setup.py
|
@ -12,7 +12,7 @@ from src.version import softwareVersion
|
||||||
EXTRAS_REQUIRE = {
|
EXTRAS_REQUIRE = {
|
||||||
'gir': ['pygobject'],
|
'gir': ['pygobject'],
|
||||||
'notify2': ['notify2'],
|
'notify2': ['notify2'],
|
||||||
'pyopencl': ['pyopencl'],
|
'pyopencl': ['numpy', 'pyopencl'],
|
||||||
'prctl': ['python_prctl'], # Named threads
|
'prctl': ['python_prctl'], # Named threads
|
||||||
'qrcode': ['qrcode'],
|
'qrcode': ['qrcode'],
|
||||||
'sound;platform_system=="Windows"': ['winsound']
|
'sound;platform_system=="Windows"': ['winsound']
|
||||||
|
@ -102,8 +102,9 @@ 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', 'translations/*.ts', 'translations/*.qm',
|
||||||
'translations/*.ts', 'translations/*.qm',
|
'bitmsghash/*.cl', 'workprover/*.cl', 'workprover/fastsolver/*',
|
||||||
|
'sslkeys/*.pem',
|
||||||
'images/*.png', 'images/*.ico', 'images/*.icns'
|
'images/*.png', 'images/*.ico', 'images/*.icns'
|
||||||
]},
|
]},
|
||||||
data_files=[
|
data_files=[
|
||||||
|
|
Reference in New Issue
Block a user