Skip to content

Commit

Permalink
Update install info and requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Jul 20, 2021
1 parent ce2a152 commit 8ae1687
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,9 @@ cd example/
virtualenv -ppython3 env
source env/bin/activate
pip install --no-deps djangosaml2-spid
pip install djangosaml2-spid
````

⚠️ Why `pip install` have beed executed twice? spid-django needs a fork of PySAML2 that's not distribuited though pypi.
This way to install it prevents the following error:

````
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
djangosaml2-spid depends on pysaml2@ git+https://github.com/peppelinux/pysaml2.git@pplnx-7.0.1#pysaml2
````

Your example saml2 configuration is in `spid_config/spid_settings.py`.
See djangosaml2 and pysaml2 official docs for clarifications.

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
django>=2.2.24,<4.0

# hint before: pip install -U setuptools
# pysaml2 @ git+https://github.com/peppelinux/pysaml2.git@pplnx-7.0.1#pysaml2
cffi

# django saml2 SP
Expand Down

0 comments on commit 8ae1687

Please sign in to comment.