Skip to content
This repository was archived by the owner on Sep 17, 2021. It is now read-only.

Moved test & onelogin requirements to the setup.py extras_require section.#450

Merged
scriptsrc merged 2 commits into
developfrom
setup_extras
Nov 18, 2016
Merged

Moved test & onelogin requirements to the setup.py extras_require section.#450
scriptsrc merged 2 commits into
developfrom
setup_extras

Conversation

@scriptsrc
Copy link
Copy Markdown
Contributor

Moved the python-saml lib to an extras section.
Also, moved testing libs to their own extras section.

Now, libxmlsec1-dev is no longer required.

.travis.yml modified to install the tests requirements:

  • pip install .[tests]

If you'd like to use onelogin, you simply need to run these commands:

  • sudo apt-get -qq update
  • sudo apt-get install -y libxml2-dev libxmlsec1-dev
  • pip install .[onelogin]
    extras_require = {
        'onelogin': ['python-saml>=2.2.0'],
        'tests': [
            'nose==1.3.0',
            'mock==1.0.1',
            'moto==0.4.25',
            'freezegun>=0.3.7'
        ]
    }

@scriptsrc scriptsrc merged commit 37393df into develop Nov 18, 2016
@scriptsrc scriptsrc mentioned this pull request Dec 2, 2016
@scriptsrc scriptsrc deleted the setup_extras branch February 17, 2017 15:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant