Skip to content

Commit 99d274d

Browse files
committed
Update requirements to latest
* Sync up with ScanCode TK. * Remove unused files Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 0cdf006 commit 99d274d

12 files changed

+211
-232
lines changed

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

CODE_OF_CONDUCT.rst

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
Contributor Covenant Code of Conduct
2+
====================================
3+
4+
Our Pledge
5+
----------
6+
7+
In the interest of fostering an open and welcoming environment, we as
8+
contributors and maintainers pledge to making participation in our
9+
project and our community a harassment-free experience for everyone,
10+
regardless of age, body size, disability, ethnicity, gender identity and
11+
expression, level of experience, education, socio-economic status,
12+
nationality, personal appearance, race, religion, or sexual identity and
13+
orientation.
14+
15+
Our Standards
16+
-------------
17+
18+
Examples of behavior that contributes to creating a positive environment
19+
include:
20+
21+
- Using welcoming and inclusive language
22+
- Being respectful of differing viewpoints and experiences
23+
- Gracefully accepting constructive criticism
24+
- Focusing on what is best for the community
25+
- Showing empathy towards other community members
26+
27+
Examples of unacceptable behavior by participants include:
28+
29+
- The use of sexualized language or imagery and unwelcome sexual
30+
attention or advances
31+
- Trolling, insulting/derogatory comments, and personal or political
32+
attacks
33+
- Public or private harassment
34+
- Publishing others’ private information, such as a physical or
35+
electronic address, without explicit permission
36+
- Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
Our Responsibilities
40+
--------------------
41+
42+
Project maintainers are responsible for clarifying the standards of
43+
acceptable behavior and are expected to take appropriate and fair
44+
corrective action in response to any instances of unacceptable behavior.
45+
46+
Project maintainers have the right and responsibility to remove, edit,
47+
or reject comments, commits, code, wiki edits, issues, and other
48+
contributions that are not aligned to this Code of Conduct, or to ban
49+
temporarily or permanently any contributor for other behaviors that they
50+
deem inappropriate, threatening, offensive, or harmful.
51+
52+
Scope
53+
-----
54+
55+
This Code of Conduct applies both within project spaces and in public
56+
spaces when an individual is representing the project or its community.
57+
Examples of representing a project or community include using an
58+
official project e-mail address, posting via an official social media
59+
account, or acting as an appointed representative at an online or
60+
offline event. Representation of a project may be further defined and
61+
clarified by project maintainers.
62+
63+
Enforcement
64+
-----------
65+
66+
Instances of abusive, harassing, or otherwise unacceptable behavior may
67+
be reported by contacting the project team at pombredanne@gmail.com
68+
or on the Gitter chat channel at https://gitter.im/aboutcode-org/discuss .
69+
All complaints will be reviewed and investigated and will result in a
70+
response that is deemed necessary and appropriate to the circumstances.
71+
The project team is obligated to maintain confidentiality with regard to
72+
the reporter of an incident. Further details of specific enforcement
73+
policies may be posted separately.
74+
75+
Project maintainers who do not follow or enforce the Code of Conduct in
76+
good faith may face temporary or permanent repercussions as determined
77+
by other members of the project’s leadership.
78+
79+
Attribution
80+
-----------
81+
82+
This Code of Conduct is adapted from the `Contributor Covenant`_ ,
83+
version 1.4, available at
84+
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
85+
86+
.. _Contributor Covenant: https://www.contributor-covenant.org

MANIFEST.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ include *.rst
99
include setup.*
1010
include configure*
1111
include requirements*
12-
include .git*
12+
include .giti*
13+
14+
include extractcode*
1315

1416
global-exclude *.py[co] __pycache__ *.*~
1517

README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
============
12
ExtractCode
2-
===========
3+
============
34

45
- license: Apache-2.0
56
- copyright: copyright (c) nexB. Inc. and others
@@ -21,7 +22,7 @@ Why another extractor?
2122

2223
**it will extract!**
2324

24-
ExtractCode will extract things where other extractors may fail.
25+
ExtractCode will extract things where other archive and compressed file extractors may fail.
2526

2627
ExtractCode supports one of largest number of archive formats listed in the
2728
long `List of supported archive formats`_ found at the bottom of this document.

appveyor.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
################################################################################
3+
# We use Appveyor to run minimal smoke tests suites on Pythons 3.x
4+
# on Windows 64 bits
5+
################################################################################
6+
environment:
7+
matrix:
8+
- PYTHON: "C:\\Python36-x64"
9+
# - PYTHON: "C:\\Python37-x64"
10+
# - PYTHON: "C:\\Python38-x64"
11+
# - PYTHON: "C:\\Python39-x64"
12+
13+
14+
build: off
15+
16+
17+
test_script:
18+
- python -c "import sys;print(sys.getdefaultencoding())"
19+
- cmd: "set PYTHON_EXECUTABLE=%PYTHON%\\python.exe && configure --dev && venv\\Scripts\\pytest -vvs tests"

azure-pipelines.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@
77

88
jobs:
99

10-
- template: etc/ci/azure-posix.yml
11-
parameters:
12-
job_name: ubuntu16_cpython
13-
image_name: ubuntu-16.04
14-
python_versions: ['3.6', '3.7', '3.8', '3.9']
15-
test_suites:
16-
all: sudo chmod 0644 /boot/vmlinuz-* && sudo apt install libguestfs-tools && tmp/bin/pytest -vvs
17-
1810
- template: etc/ci/azure-posix.yml
1911
parameters:
2012
job_name: ubuntu18_cpython

configure

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ if [ -d "$CFG_ROOT_DIR/thirdparty" ]; then
6060
fi
6161
PIP_EXTRA_ARGS="$PIP_EXTRA_ARGS --find-links https://thirdparty.aboutcode.org/pypi/simple/links.html"
6262

63-
6463
################################
65-
# Set the quiet flag to empty if not defined
64+
# Set the quiet flag to empty if not defined
6665
if [[ "$CFG_QUIET" == "" ]]; then
6766
CFG_QUIET=" "
6867
fi
@@ -180,7 +179,7 @@ while getopts :-: optchar; do
180179
dev ) CFG_REQUIREMENTS="$DEV_REQUIREMENTS";;
181180
docs ) CFG_REQUIREMENTS="$DOCS_REQUIREMENTS";;
182181
esac;;
183-
esac
182+
esac
184183
done
185184

186185
PIP_EXTRA_ARGS="$PIP_EXTRA_ARGS"

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# -- Project information -----------------------------------------------------
1919

20-
project = "nexb-skeleton"
20+
project = "ExtractCode"
2121
copyright = "nexB Inc. and others."
2222
author = "AboutCode.org authors and contributors"
2323

@@ -67,8 +67,8 @@
6767
html_context = {
6868
"display_github": True,
6969
"github_user": "nexB",
70-
"github_repo": "nexb-skeleton",
71-
"github_version": "develop", # branch
70+
"github_repo": "extractcode",
71+
"github_version": "main", # branch
7272
"conf_py_path": "/docs/source/", # path in the checkout to the docs root
7373
}
7474

docs/source/skeleton-usage.rst

Lines changed: 0 additions & 160 deletions
This file was deleted.

0 commit comments

Comments
 (0)