From 252c502c0ae2252149c5b1d49733b8215718ab60 Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Wed, 30 May 2018 15:50:39 +0200 Subject: [PATCH] Undo inadvertent update of package metadata --- packages/docs/build-docs.sh | 10 ++++++++++ packages/docs/package.json | 18 +++++++++++------- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/packages/docs/build-docs.sh b/packages/docs/build-docs.sh index 0905af075266a..f51a0130024ae 100755 --- a/packages/docs/build-docs.sh +++ b/packages/docs/build-docs.sh @@ -1,6 +1,16 @@ #!/bin/bash set -euo pipefail +PYTHON_DEPS="$PWD/python-deps" +mkdir -p "${PYTHON_DEPS}" + +export PYTHONPATH=${PYTHON_DEPS}/lib/python3.6/site-packages +export PATH=${PYTHON_DEPS}/bin:$PATH + +#---------------------------------------------------------------------- +# Install python depednencies to a local tree +pip install --ignore-installed --install-option="--prefix=${PYTHON_DEPS}" -r requirements.txt + #---------------------------------------------------------------------- # CONFIG staging="dist/staging" diff --git a/packages/docs/package.json b/packages/docs/package.json index 84e9285b9312c..21358f86dd262 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -2,13 +2,16 @@ "name": "docs", "private": true, "version": "0.6.0", - "description": "Generates the documentation for all packages", + "description": "AWS CDK Documentation", "main": "lib/index.js", "types": "lib/index.d.ts", "repository": { "type": "git", "url": "git://github.com/awslabs/aws-cdk" }, + "pkglint": { + "ignore": true + }, "scripts": { "prepare": "/bin/bash ./build-docs.sh" }, @@ -17,11 +20,12 @@ "url": "https://aws.amazon.com" }, "license": "Apache-2.0", - "dependencies": { - }, "devDependencies": { - "jsii-pacmak": "^0.4.0", - "pkgtools": "^0.6.0", - "aws-cdk-all": "^0.6.0" - } + "aws-cdk-all": "^0.6.0", + "pkgtools": "^0.6.0" + }, + "keywords": [ + "aws", + "cdk" + ] }