diff --git a/park.cfg b/park.cfg new file mode 100644 index 00000000..049198e4 --- /dev/null +++ b/park.cfg @@ -0,0 +1,23 @@ +[DEFAULT] +version: 0.0.1 +author: Amazon Web Services +author_email: aws-cryptools@amazon.com +url: https://github.com/awslabs/aws-dynamodb-encryption-python +description: Did you mean to install dynamodb-encryption-sdk? +long_description: + This package has been parked by {author} to protect you against packages + adopting names that might be common mistakes when looking for ours. You probably + wanted to install dynamodb-encryption-sdk. For more information, see {url}. +description_keys: + author + url + +[names] +dynamodb-encryption: +dynamodb-encyrption: +dynamodb-encrpytion: +dynamodb-encrytpion: +dynamodbencryptionsdk: +dynamodbencyrptionsdk: +dynamodbencrpytionsdk: +dynamodbencrytpionsdk: diff --git a/tox.ini b/tox.ini index 932ec5c4..1d754963 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,14 @@ envlist = # linters :: Runs all linters over all source code. # linters-tests :: Runs all linters over all tests. +# Operational helper environments: +# docs :: Builds Sphinx documentation. +# serve-docs :: Starts local webserver to serve built documentation. +# park :: Builds name-parking packages using pypi-parker. +# build :: Builds source and wheel dist files. +# test-release :: Builds dist files and uploads to testpypi pypirc profile. +# release :: Builds dist files and uploads to pypi pypirc profile. + [testenv:base-command] commands = pytest --basetemp={envtmpdir} -l --cov dynamodb_encryption_sdk {posargs} @@ -231,6 +239,15 @@ deps = commands = python -m http.server {posargs} +# Release tooling +[testenv:park] +basepython = python3.6 +skip_install = true +deps = + pypi-parker + setuptools +commands = python setup.py park + # Release tooling [testenv:build] basepython = python3