set up publish to pypi

This commit is contained in:
Soren I. Bjornstad 2021-09-21 11:54:05 -05:00
parent 7669da024a
commit ea26f18906
4 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ venv/
cli_docs/_build/
tzk/editions/
dist/
build/

1
MANIFEST.in Normal file
View File

@ -0,0 +1 @@
recursive-include tzk/editions *

7
publish.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -e
rm -f dist/*
mkdir -p dist
python setup.py sdist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ dist/*

View File

@ -35,4 +35,5 @@ setuptools.setup(
],
},
python_requires='>=3.6',
include_package_data=True,
)