Use pip extras on CI

pull/1931/head
Kieran Prasch 2020-04-24 18:45:50 -07:00 committed by Kieran R. Prasch
parent 4048a05062
commit 04063cfdb2
2 changed files with 8 additions and 14 deletions

View File

@ -392,13 +392,9 @@ commands:
pip_install:
description: "Install NuCypher with Pip"
steps:
- run:
name: Install Python Dependencies with Pip
command: pip3 install --user -e . -r requirements.txt
- check_nucypher_entrypoints # Ensure Standard Installation Entry-points Work
- run:
name: Install Python Development Dependencies with Pip
command: pip3 install --user -e . -r dev-requirements.txt
command: pip3 install --user -e .[dev]
- run:
name: Install Solidity Compiler
command: python3 ./scripts/installation/install_solc.py
@ -693,7 +689,7 @@ jobs:
- prepare_environment
- run:
name: Install Documentation Build Dependencies
command: pip3 install -r docs-requirements.txt
command: pip3 install --user .[docs]
- run:
name: Build Sphinx Documentation
command: make docs
@ -703,13 +699,12 @@ jobs:
test_build:
<<: *python_37_base
steps:
- checkout
- pip_install
- prepare_environment
- run:
name: Install Twine
command: pip install --user twine
name: Install Dependencies with deployment extra
command: pip3 install --user .[deploy]
- run:
name: Build Python Distribution Wheel
name: Build Python Distribution
command: make dist
build_docker:
@ -747,10 +742,9 @@ jobs:
<<: *python_37_base
steps:
- checkout
- pip_install
- run:
name: Install Twine
command: pip3 install --user twine
command: pip3 install --user -e .[deploy]
- run:
name: Verify git tag == __version__ (Test Deploy)
command: python setup.py verify

View File

@ -124,7 +124,7 @@ setup(
# Requirements
python_requires='>=3',
setup_requires=['pytest-runner'],
setup_requires=['pytest-runner', 'setuptools-markdown'],
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS,