File: doctest.sh

package info (click to toggle)
smart-open 7.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 980 kB
  • sloc: python: 8,054; sh: 90; makefile: 14
file content (10 lines) | stat: -rwxr-xr-x 342 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
script_dir="$(dirname "${BASH_SOURCE[0]}")"

export AWS_ACCESS_KEY_ID=$(aws --profile smart_open configure get aws_access_key_id)
export AWS_SECRET_ACCESS_KEY=$(aws --profile smart_open configure get aws_secret_access_key)

#
# Using the current environment, which has smart_open installed.
#
cd "$script_dir/.."
python -m doctest README.rst