https://github.com/aboutcode-org/mass-scan
https://github.com/aboutcode-org/mass-scan
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aboutcode-org/mass-scan
- Owner: aboutcode-org
- Created: 2025-01-02T14:36:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-02T14:36:31.000Z (about 1 year ago)
- Last Synced: 2025-09-17T12:00:36.999Z (4 months ago)
- Language: Python
- Size: 37.1 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- Code of conduct: CODE_OF_CONDUCT.rst
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
A Simple Python Project Skeleton
================================
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/
Usage
=====
A brand new project
-------------------
.. 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.
Update an existing 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``.
Release Notes
=============
- 2023-07-18:
- Add macOS-13 job in azure-pipelines.yml
- 2022-03-04:
- Synchronize configure and configure.bat scripts for sanity
- Update CI operating system support with latest Azure OS images
- Streamline utility scripts in etc/scripts/ to create, fetch and manage third-party dependencies
There are now fewer scripts. See etc/scripts/README.rst for details
- 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 once
- Add utility scripts from scancode-toolkit/etc/release/ for use in generating project files
- Rename virtual environment directory from ``tmp`` to ``venv``
- Update README.rst with instructions for generating ``requirements.txt`` and ``requirements-dev.txt``,
as well as collecting dependencies as wheels and generating ABOUT files for them.
- 2021-05-11:
- Adopt new configure scripts from ScanCode TK that allows correct configuration of which Python version is used.