Removed requirements.txt in favor of Pipenv
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user