This repository was archived by the owner on Aug 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 - uses : " actions/setup-python@v1"
1717 with :
1818 python-version : 3.7
19- - name : " Publish"
19+ - name : " Install dependencies"
20+ run : " scripts/install"
21+ - name : " Build package & docs"
22+ run : " scripts/build"
23+ - name : " Publish to PyPI & deploy docs"
2024 run : " scripts/publish"
2125 env :
2226 TWINE_USERNAME : __token__
Original file line number Diff line number Diff line change 1515 - Tests & Migrations : ' tests_and_migrations.md'
1616
1717markdown_extensions :
18+ - mkautodoc
1819 - admonition
19- - codehilite
20+ - pymdownx.highlight
21+ - pymdownx.superfences
Original file line number Diff line number Diff line change @@ -23,3 +23,12 @@ pytest
2323pytest-cov
2424starlette
2525requests
26+
27+ # Documentation
28+ mkdocs
29+ mkdocs-material
30+ mkautodoc
31+
32+ # Packaging
33+ twine
34+ wheel
Original file line number Diff line number Diff line change 1+ #! /bin/sh -e
2+
3+ if [ -d ' venv' ] ; then
4+ PREFIX=" venv/bin/"
5+ else
6+ PREFIX=" "
7+ fi
8+
9+ set -x
10+
11+ ${PREFIX} python setup.py sdist bdist_wheel
12+ ${PREFIX} twine check dist/*
13+ ${PREFIX} mkdocs build
Original file line number Diff line number Diff line change 11#! /bin/sh -e
22
33VERSION_FILE=" databases/__init__.py"
4- PYTHONPATH=.
54
65if [ -d ' venv' ] ; then
76 PREFIX=" venv/bin/"
2322
2423set -x
2524
26- ${PREFIX} pip install twine wheel mkdocs mkdocs-material mkautodoc
27- ${PREFIX} python setup.py sdist bdist_wheel
2825${PREFIX} twine upload dist/*
2926${PREFIX} mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments