Skip to content

Commit a6422fc

Browse files
authored
Merge pull request #3 from nexB/release-21-1-prep
Work with latest CommonCode and drop Python2
2 parents 6d54911 + fa46312 commit a6422fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1086
-1536
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Ignore all Git auto CR/LF line endings conversions
2+
* binary

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ pyvenv.cfg
6767
/.pytest_cache/
6868
lib64
6969
tcl
70+
71+
# Ignore Jupyter Notebook related temp files
72+
.ipynb_checkpoints/

.readthedocs.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Where the Sphinx conf.py file is located
9+
sphinx:
10+
configuration: docs/source/conf.py
11+
12+
# Setting the python version and doc build requirements
13+
python:
14+
install:
15+
- method: pip
16+
path: .
17+
extra_requirements:
18+
- docs

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a skeleton Travis CI config file that provides a starting point for adding CI
22
# to a Python project. Since we primarily develop in python3, this skeleton config file
3-
# will be specific to that language.
3+
# will be specific to that language.
44
#
55
# See https://config.travis-ci.com/ for a full list of configuration options.
66

AUTHORS.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
The following organizations or individuals have contributed to this repo:
22

3-
-
3+
- Abhishek Kumar @Abhishek-Dev09
4+
- AlexB @a-tinsmith
5+
- Maximilian Huber @maxhbr
6+
- Michael Rupprecht @michaelrup
7+
- Philippe Ombredanne @pombredanne
8+
- Qingmin Duanmu @qduanmu
9+
- Rakesh Balusa @balusarakesh
10+
- Ravi Jain @JRavi2
11+
- Steven Esser @majurg

CHANGELOG.rst

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
Release notes
2+
=============
3+
4+
vNext
5+
-----
6+
7+
Version 21.1.15
8+
-------------
9+
10+
*2021-01-15*
11+
- Drop support for Python 2
12+
- Use the latest CommonCode and TypeCode libraries
13+
14+
*2020-11-13*
15+
- Add azure-pipelines CI support
16+
17+
18+
Version 20.10
219
-------------
3-
### Version 0.0.0
420

5-
*xxxx-xx-xx* -- Initial release.
21+
*2020-10-06*
22+
- Initial release.

MANIFEST.in

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
graft src
2+
3+
include *.LICENSE
4+
include NOTICE
5+
include *.ABOUT
6+
include *.toml
7+
include *.yml
8+
include *.rst
9+
include setup.*
10+
include configure*
11+
include requirements*
12+
include .git*
13+
14+
global-exclude *.py[co] __pycache__ *.*~
15+

NOTICE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#
2+
# Copyright (c) nexB Inc. and others.
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
# Visit https://aboutcode.org and https://github.com/nexB/ for support and download.
6+
# ScanCode is a trademark of nexB Inc.
7+
#
8+
# Licensed under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# Unless required by applicable law or agreed to in writing, software
15+
# distributed under the License is distributed on an "AS IS" BASIS,
16+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
# See the License for the specific language governing permissions and
18+
# limitations under the License.
19+
#

README.rst

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1-
extractcode
1+
ExtractCode
22
===========
3-
A set of functions and utilities used to extract archives.
3+
4+
- license: Apache-2.0
5+
- copyright: copyright (c) nexB. Inc. and others
6+
- homepage_url: https://github.com/nexB/extractode
7+
- keywords: archiev, extraction, libarchive, 7zip, scancode-toolkit
8+
9+
10+
ExtractCode is a universal archive extractor. It uses behind the scenes
11+
the Python standard library, a custom ctypes binding to libarchive and
12+
the 7zip command line to extract a large number of common and
13+
less common archives and compressed files. It tries to extract things
14+
in the same way on all OSes, including auto-renaming files that would
15+
not have valid names on certain filesystems or when there are multiple
16+
copies of the same path in a given archive.
17+
The extraction is driven from a "voting" system that considers the
18+
file extension(s) and name, the file type and mime type (using a ctypes
19+
binding to libmagic) to select the most appropriate extractor or
20+
uncompressor function. It can handle multi-level archives such as tar.gz.
21+
22+
23+
24+
Visit https://aboutcode.org and https://github.com/nexB/ for support and download.
25+
26+
To set up the development environment::
27+
28+
source configure
29+
30+
To run unit tests::
31+
32+
pytest -vvs -n 2
33+
34+
To clean up development environment::
35+
36+
./configure --clean
37+
38+

apache-2.0.LICENSE

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,28 @@
174174
of your accepting any such warranty or additional liability.
175175

176176
END OF TERMS AND CONDITIONS
177+
178+
APPENDIX: How to apply the Apache License to your work.
179+
180+
To apply the Apache License to your work, attach the following
181+
boilerplate notice, with the fields enclosed by brackets "[]"
182+
replaced with your own identifying information. (Don't include
183+
the brackets!) The text should be enclosed in the appropriate
184+
comment syntax for the file format. We also recommend that a
185+
file or class name and description of purpose be included on the
186+
same "printed page" as the copyright notice for easier
187+
identification within third-party archives.
188+
189+
Copyright [yyyy] [name of copyright owner]
190+
191+
Licensed under the Apache License, Version 2.0 (the "License");
192+
you may not use this file except in compliance with the License.
193+
You may obtain a copy of the License at
194+
195+
http://www.apache.org/licenses/LICENSE-2.0
196+
197+
Unless required by applicable law or agreed to in writing, software
198+
distributed under the License is distributed on an "AS IS" BASIS,
199+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200+
See the License for the specific language governing permissions and
201+
limitations under the License.

0 commit comments

Comments
 (0)