Skip to content

Commit b4e862e

Browse files
committed
Update skeleton files
Signed-off-by: Jono Yang <jyang@nexb.com>
2 parents fdf49a1 + b735a3f commit b4e862e

25 files changed

+712
-36
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore all Git auto CR/LF line endings conversions
2+
* -text
3+
pyproject.toml export-subst

.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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ python:
99
- "3.6"
1010
- "3.7"
1111
- "3.8"
12+
- "3.9"
1213

1314
# Scripts to run at install stage
14-
install: ./configure
15+
install: ./configure --dev
1516

1617
# Scripts to run at script stage
17-
script: tmp/bin/pytest tests
18+
script: tmp/bin/pytest

AUTHORS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ The following organizations or individuals have contributed to this repo:
55
- Philippe Ombredanne @ pombredanne
66
- Steven Esser @ majurg
77
- Tushar Goel @ TG1999
8-
8+

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Release notes
22
-------------
33
### Version 0.0.1 2020-10-29
44

5-
Initial release
5+
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
*********
22
Fetchcode
33
*********
4-
It is a library to reliably fetch code via HTTP, FTP and version control systems.
4+
It is a library to reliably fetch code via HTTP, FTP and version control systems.
55

66
Installation
77
############
8-
Clone the repo using
8+
Clone the repo using
99

1010
:code:`git clone https://github.com/nexB/fetchcode`
1111

12-
Then install all the requirements using
12+
Then install all the requirements using
1313

1414
:code:`pip3 install -r requirements.txt`
1515

@@ -33,4 +33,4 @@ Usage of API to fetch HTTP/S and FTP URLs
3333
# 'scheme' scheme of the URL
3434
# 'size' size of the retrieved content in bytes
3535
# 'url' fetched URL
36-
resp = fetch(url = url)
36+
resp = fetch(url = url)

apache-2.0.LICENSE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
Apache License
32
Version 2.0, January 2004
43
http://www.apache.org/licenses/
@@ -199,4 +198,4 @@
199198
distributed under the License is distributed on an "AS IS" BASIS,
200199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201200
See the License for the specific language governing permissions and
202-
limitations under the License.
201+
limitations under the License.

azure-pipelines.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
2+
################################################################################
3+
# We use Azure to run the full tests suites on multiple Python 3.x
4+
# on multiple Windows, macOS and Linux versions all on 64 bits
5+
# These jobs are using VMs with Azure-provided Python builds
6+
################################################################################
7+
8+
jobs:
9+
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: tmp/bin/pytest -vvs
17+
18+
- template: etc/ci/azure-posix.yml
19+
parameters:
20+
job_name: ubuntu18_cpython
21+
image_name: ubuntu-18.04
22+
python_versions: ['3.6', '3.7', '3.8', '3.9']
23+
test_suites:
24+
all: tmp/bin/pytest -n 2 -vvs
25+
26+
- template: etc/ci/azure-posix.yml
27+
parameters:
28+
job_name: ubuntu20_cpython
29+
image_name: ubuntu-20.04
30+
python_versions: ['3.6', '3.7', '3.8', '3.9']
31+
test_suites:
32+
all: tmp/bin/pytest -n 2 -vvs
33+
34+
- template: etc/ci/azure-posix.yml
35+
parameters:
36+
job_name: macos1014_cpython
37+
image_name: macos-10.14
38+
python_versions: ['3.6', '3.7', '3.8', '3.9']
39+
test_suites:
40+
all: tmp/bin/pytest -n 2 -vvs
41+
42+
- template: etc/ci/azure-posix.yml
43+
parameters:
44+
job_name: macos1015_cpython
45+
image_name: macos-10.15
46+
python_versions: ['3.6', '3.7', '3.8', '3.9']
47+
test_suites:
48+
all: tmp/bin/pytest -n 2 -vvs
49+
50+
- template: etc/ci/azure-win.yml
51+
parameters:
52+
job_name: win2016_cpython
53+
image_name: vs2017-win2016
54+
python_versions: ['3.6', '3.7', '3.8', '3.9']
55+
test_suites:
56+
all: tmp\Scripts\pytest -n 2 -vvs
57+
58+
- template: etc/ci/azure-win.yml
59+
parameters:
60+
job_name: win2019_cpython
61+
image_name: windows-2019
62+
python_versions: ['3.6', '3.7', '3.8', '3.9']
63+
test_suites:
64+
all: tmp\Scripts\pytest -n 2 -vvs

0 commit comments

Comments
 (0)