Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vincent Sellier
swh-docs
Commits
42e770e6
Commit
42e770e6
authored
4 years ago
by
Stefano Zacchiroli
Browse files
Options
Downloads
Patches
Plain Diff
developer setup: simplify package installation by delegating to bin/install
parent
40b7d961
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/developer-setup.rst
+9
-7
9 additions, 7 deletions
docs/developer-setup.rst
with
9 additions
and
7 deletions
docs/developer-setup.rst
+
9
−
7
View file @
42e770e6
...
...
@@ -88,20 +88,22 @@ In the future you can re-activate the created virtualenv with::
.. _pipenv: https://pipenv.readthedocs.io/
Install all the swh packages (in develop mode)::
Install all the swh packages (in develop
ment
mode
, with testing dependencies
)::
(swh) ~/swh-environment$ pip install flake8 pifpaf tox wheel mypy
(swh) ~/swh-environment$ pip install $(./bin/pip-swh-packages)
(swh) ~/swh-environment$ pip install $(./bin/pip-swh-packages --with-testing)
(swh) ~/swh-environment$ bin/install
[...]
.. Note:: If you experience issues in :program:`pip` package resolution, try using
``--use-deprecated=legacy-resolver`` CLI option.
It can be set in :file:`~/.config/pip/pip.conf` until the issue is solved::
.. note::
If you experience issues with :program:`pip` dependency resolution, try with
``bin/install --use-deprecated=legacy-resolver`` (the flag will be passed on
to :program:`pip install`). The same flag can also be set globally in
:file:`~/.config/pip/pip.conf`::
[install]
use-deprecated=legacy-resolver
Executing unit tests
--------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment