Skip to content

Commit 8c4fb7b

Browse files
Merge branch 'main' of ../commoncode-filter into fix-ignore-pre-scan-plugin
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
2 parents b1a331c + 6e88b9e commit 8c4fb7b

2 files changed

Lines changed: 33 additions & 1 deletion

File tree

pyproject-commoncode.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ version = "32.4.2"
88
authors = [
99
{ name = "nexB. Inc. and others", email = "info@aboutcode.org" },
1010
]
11-
license = "Apache-2.0"
11+
license = { text = "Apache-2.0" }
12+
1213

1314
# description must be on ONE line https://github.com/pypa/setuptools/issues/1390
1415
description = "Set of common utilities, originally split from ScanCode"

src/commoncode/README.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
CommonCode
2+
==========
3+
4+
- license: Apache-2.0
5+
- copyright: copyright (c) nexB. Inc. and others
6+
- homepage_url: https://github.com/aboutcode-org/commoncode
7+
- keywords: utilities, scancode-toolkit, commoncode
8+
9+
Commoncode provides a set of common functions and utilities for handling various things like paths,
10+
dates, files and hashes. It started as library in scancode-toolkit.
11+
Visit https://aboutcode.org and https://github.com/aboutcode-org/ for support and download.
12+
13+
14+
To install this package use::
15+
16+
pip install commoncode
17+
18+
19+
Alternatively, to set up a development environment::
20+
21+
./configure --dev
22+
source venv/bin/activate
23+
24+
To run unit tests::
25+
26+
pytest -vvs -n 2
27+
28+
To clean up development environment::
29+
30+
./configure --clean
31+

0 commit comments

Comments
 (0)