Removed requirements.txt in favor of Pipenv

This commit is contained in:
richard-dds
2018-06-04 15:55:28 -04:00
parent 123d6ef3aa
commit 42624b9eb8
7 changed files with 139 additions and 21 deletions

View File

@@ -6,11 +6,8 @@ set -e
# Ensure we are in the app root directory (not the /script directory)
cd "$(dirname "${0}")/.."
# Activate virtual environment
source .venv/bin/activate
# Install Python dependencies
pip install -r requirements.txt
pipenv install --dev
# Install uswds node module and dependencies
npm install

View File

@@ -7,14 +7,7 @@ set -e
cd "$(dirname "${0}")/.."
# Install virtualenv
pip install virtualenv
# Create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install/update pip
pip install --upgrade pip
pip install pipenv
# Update npm
npm install -g npm

View File

@@ -6,8 +6,5 @@ set -e
# Ensure we are in the app root directory (not the /script directory)
cd "$(dirname "${0}")/.."
# Activate virtual environment
source .venv/bin/activate
# Run unit tests
python3 -m pytest
pipenv run python -m pytest