This repo attempts to standardize the structure of the Python-based project's
repositories using modern Python packaging and configuration techniques.
Using this blog post
_ as inspiration, this repository serves as the base for
all new Python projects and is mergeable in existing repositories as well.
.. _blog post: https://blog.jaraco.com/a-project-skeleton-for-python-projects/
.. code-block:: bash
git init my-new-repo
cd my-new-repo
git pull git@github.com:nexB/skeleton
# Create the new repo on GitHub, then update your remote
git remote set-url origin git@github.com:nexB/your-new-repo.git
From here, you can make the appropriate changes to the files for your specific project.
.. code-block:: bash
cd my-existing-project
git remote add skeleton git@github.com:nexB/skeleton
git fetch skeleton
git merge skeleton/main --allow-unrelated-histories
This is also the workflow to use when updating the skeleton files in any given repository.
More usage instructions can be found in docs/skeleton-usage.rst
.
2023-07-18:
2022-03-04:
2021-09-03:
configure
now requires pinned dependencies via the use of requirements.txt
and requirements-dev.txt
configure
can now accept multiple options at oncetmp
to venv
requirements.txt
and requirements-dev.txt
,
as well as collecting dependencies as wheels and generating ABOUT files for them.2021-05-11: