Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add install_requires, use it in tests #584

Merged
merged 3 commits into from
Jun 21, 2021

Conversation

kpcyrd
Copy link
Contributor

@kpcyrd kpcyrd commented Jun 21, 2021

I got some feedback from @eli-schwartz on #583 and addressed them in this PR:

  • Define the dependencies in setup.py
  • In github actions, read the dependencies from that file
  • Ensure everything actually works in the end by running torbrowser-launcher -h
@kpcyrd kpcyrd requested a review from micahflee as a code owner June 21, 2021 00:39
@micahflee micahflee merged commit 6142c8d into torproject:develop Jun 21, 2021
@kpcyrd kpcyrd deleted the github-actions branch June 21, 2021 00:42
- name: Install system dependencies
run: sudo apt-get install gettext python3 libgpgme-dev
- name: Install python dependencies
run: sudo pip3 install .

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that pip install actually then obsoletes the following lines where you run setup.py build && setup.py install. Running it again is essentially harmless though.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(You do need to specifically use pip at some point because it's the thing that verifies and installs-if-needed, the dependencies.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants