-
Notifications
You must be signed in to change notification settings - Fork 30
Components
- docs/
- CHANGELOG.rst, CONTRIBUTING.rst, LICENSE, README{,.rst}
- .github/workflows/ci.yml
- Python package
- PKGBUILD{,-git}
- release
- .pypt
- setup.py
- tests/
- pypt-extras/Qt
- pypt-extras/AUR/
- PYPT-UPDATE (outside)
This is a configuration for Sphinx, which may or may not work for everyone.
A sample file to upload to the PyPI as your “project documentation” to redirect to ReadTheDocs. (Not necessary)
Those are sample files, some of which are copyrighted. Please make sure to read through all of them and decide whether you need them or not!
Some of them are also in the repository root, in multiple copies.
The workflow for GitHub Actions lives in .github/workflows/ci.yml. It will
run tests on Ubuntu, Windows and macOS, using multiple Python versions,
including PyPy.
A sample __init__.py file with the license and a few additional headers.
A sample __main__.py file, compatible with entry_points and direct usage
with -m.
A sample, almost-empty Python file.
PKGBUILD files for Arch Linux users. You can use them or delete them. You may need to change some names if you aren’t Chris Warrick.
A sophisticated, automated script for releasing.
Configuration and data files for PyPT.
Config options for the entire template. Options include:
-
$PROJECT— human-friendly project name. -
$PROJECTLC— computer-friendly project name. -
$GITUSER— GitHub username. -
$GITREPO— git repository name. -
$LOCALETYPE— locale type. One ofnone,gettext,pyqt4,pyside; accepts a-txsuffix for Transifex locale support. -
$PYTHON2,$PYTHON3— Python versions supported. -
$AUR_GIT_PACKAGE— Whether or not to create AUR -git packages. (true/false) -
$AUR_PKGNAME,$AUR_PKGNAME_GIT— AUR package names. You still need to edit PKGBUILDs!
Hooks that are run by the release scripts.
Run right before creating tarballs.
Run after the release is complete.
A hacky script for creating commit messages and changelog entries. Does not work on its own, needs the release scripts.
A script for generating locales.
A script for creating GitHub Releases. Can also work standalone.
Configuration for Travis CI.
A setup.py file that should be good enough for most people, and that supports
entry_points (see https://go.chriswarrick.com/entry_points).
Tests. Included are some Is My Python Sane? tests. They are guaranteed to
pass. pytest is used as the test runner, and the tests are written using
pytest syntax.
A resource switcher for PyQt/PySide projects.
A sample post-release hook for AUR package updates and automation for updating AUR packages in a virtual machine. (See README for details!)
A script to update PyPT across all your repositories. You must copy it somewhere else and edit it accordingly.