Merge pull request #584 from kpcyrd/github-actions

Add install_requires, use it in tests
This commit is contained in:
Micah Lee 2021-06-20 20:41:00 -04:00 committed by GitHub
commit 6142c8db02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

View File

@ -11,9 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install gettext python3 python3-packaging python3-gpg python3-pyqt5 python3-requests python3-socks
- name: Install system dependencies
run: sudo apt-get install gettext python3 libgpgme-dev
- name: Install python dependencies
run: sudo pip3 install .
- name: Build torbrowser-launcher
run: python3 setup.py build
- name: Install torbrowser-launcher
run: sudo python3 setup.py install
- name: Test torbrowser-launcher install
run: torbrowser-launcher -h

View File

@ -118,4 +118,11 @@ Browser.
packages=["torbrowser_launcher"],
scripts=["torbrowser-launcher"],
data_files=datafiles,
install_requires=[
'gpg',
'packaging',
'PyQt5',
'requests',
'PySocks',
],
)