Copyright License Manager
Project description
A cli tool for easy management of copyright and licenses in source code headers.
Installation
pip install clmgr
Testing
This project uses pytest to run tests, if docstring examples are provided or included these will be included automatically.
Install test dependencies.
pip install -r requirements_dev.txt
Run tests.
pytest
Development
This project uses black to format code and flake8 for linting. To ensure these actions are run pre-commit is used. A git alias is provided which will configure the entire environment.
Configure environment.
git config include.path ../.gitaliases
git setup
Install dev dependencies.
pip install -r requirements_dev.txt
Install for development
pip install -e .
Release (Manual)
The following action describe the manual release process.
Install dev dependencies.
pip install -r requirements_dev.txt
Clean.
git clean -xfd
Build.
python setup.py sdist bdist_wheel
Verify.
twine check dist/*
Upload.
twine upload dist/*
Release
Releases are published automatically when a tag is pushed to GitHub.
# Set next version number
export RELEASE=x.x.x
# Create tags
git commit --allow-empty -m "build: release ${RELEASE}"
git tag -a ${RELEASE} -m "build: release ${RELEASE}"
# Push - Assume that we are working from a fork
git push upstream --tags
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clmgr-0.2.0.tar.gz.
File metadata
- Download URL: clmgr-0.2.0.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8551733093455a219091d1bd9f8fad428fa2db6b95d29f46674cb8c81f0650e7
|
|
| MD5 |
121c716f36f74a2ef32c0e2bf487caa5
|
|
| BLAKE2b-256 |
a2770caf74a2aed8d8889c70ff05b755ec86602807783b78076a72010ecc0979
|
File details
Details for the file clmgr-0.2.0-py3-none-any.whl.
File metadata
- Download URL: clmgr-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa9312671509a1b06d274e3c50892dd8935125948ab7391cbc991a8792889422
|
|
| MD5 |
53d561cd65ea24d19787f22e6f648da4
|
|
| BLAKE2b-256 |
f8f26d1d7c39cf29a2c51132a50ec21f34ac0c66792e3ce085bc461b512ec982
|