.github/workflows/publish_release.yml: addskip-existing: trueto skip publishing when there exists a same version package.MANIFEST.in: excludeshellfiles from the package.
see assets below.
.github/CONTRIBUTING.md: add suggestion for creating a new branch to submit PR.
.github/workflows/publish_release.yml: enable continuous deployment(CD) workflows for automatic package building, publishing, and creating GitHub releases.
-
.github/CONTRIBUTING.md: guide other to make contribution to your project. -
.github/ISSUE_TEMPLATE: standardize the format ofissuereporting. Composed ofbug_report.yml,feature_request.ymlandconfig.yml. -
.github/PULL_REQUEST_TEMPLATE.md: standardize the format ofPull Request.
docs/README.md: instructions for docs, provide some tool suggestions to help you quickly build your own document.tests/README.md: instructions for testing, provide the whole procedure of testing.examples/demo.ipynb: provide an example of how to demonstrate your project.
docs/.gitkeeptests/.gitkeepexamples/.gitkeep
packaging.sh: add logit of deleting the old distribution packages.README.md: add🧰 Tools Recommendedsection.
check_meta.sh: rectify logit of gettingMetadata-VersionREADME.md: rectify usage ofkeyring.
Including construction, inspection, and publishing to PyPI.
Please refer to steps 6 through 8 in README.md file.
setup.py: keep a minimal setting to ensure editable installation supportedREADME.md: finish full pipeline of package development.requirements.txt: add more example dependencies.ruff.toml:target-versionset to"py37", cause it is the minimum requirement.
setup.cfg: define the configuration of the build processpackaging.sh: auto build the distribution packages.check_meta.sh: auto check the meta information of the built distribution packages.
README.md: Added more information and beautified it.setu.py: addSETUP_REQUIRED
CHANGELOG.md: record version changes.ruff.toml: define rules for code style, code inspection, and import management
- Fix bugs in
setup.py: Optimized the logic of dynamically obtaining version information, removed the extended function classUploadCommand(Causesetpu.pyno longer supports functional customization, see more) - Fix bugs in
MANIFEST.in: Discard unnecessary commands <package-name>/__init__.py: Added copyright definition and version definitionrequirements.txt: Added example dependenciesREADME.md: Added more information and beautified it.
<package-name>/__version__.py
-
A relatively complete software engineering project structure, including directories for code, test, document, and project demonstration
-
setup.pyis a collection of useful patterns and best practices. It extends thepython setup.pycommand to achieve one-step code updates, package builds, and releases to PyPi usingTwine.