nodeenv 1.7.0__tar.gz → 1.9.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nodeenv-1.9.0/.coveragerc +29 -0
- nodeenv-1.9.0/.github/workflows/main.yml +81 -0
- nodeenv-1.9.0/.gitignore +28 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/AUTHORS +14 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/Makefile +1 -1
- nodeenv-1.9.0/PKG-INFO +765 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/README +1 -1
- {nodeenv-1.7.0 → nodeenv-1.9.0}/README.rst +1 -1
- {nodeenv-1.7.0 → nodeenv-1.9.0}/README.ru.rst +1 -1
- nodeenv-1.9.0/nodeenv.egg-info/PKG-INFO +765 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/nodeenv.egg-info/SOURCES.txt +11 -2
- {nodeenv-1.7.0 → nodeenv-1.9.0}/nodeenv.egg-info/entry_points.txt +0 -1
- {nodeenv-1.7.0 → nodeenv-1.9.0}/nodeenv.py +77 -52
- nodeenv-1.9.0/pyproject.toml +3 -0
- nodeenv-1.9.0/requirements-dev.txt +7 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/setup.py +6 -2
- nodeenv-1.9.0/tests/__init__.py +0 -0
- nodeenv-1.9.0/tests/nodeenv_test.py +163 -0
- nodeenv-1.9.0/tests/nodejs_index.json +487 -0
- nodeenv-1.9.0/tests/test_install_activate.py +87 -0
- nodeenv-1.9.0/tox.ini +20 -0
- nodeenv-1.7.0/PKG-INFO +0 -763
- nodeenv-1.7.0/nodeenv.egg-info/PKG-INFO +0 -763
- nodeenv-1.7.0/nodeenv.egg-info/requires.txt +0 -1
- {nodeenv-1.7.0 → nodeenv-1.9.0}/CHANGES +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/LICENSE +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/MANIFEST.in +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/debian-upstream/changelog +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/debian-upstream/compat +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/debian-upstream/control +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/debian-upstream/copyright +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/debian-upstream/nodeenv.links +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/debian-upstream/nodeenv.triggers +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/debian-upstream/rules +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/nodeenv.egg-info/dependency_links.txt +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/nodeenv.egg-info/not-zip-safe +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/nodeenv.egg-info/top_level.txt +0 -0
- {nodeenv-1.7.0 → nodeenv-1.9.0}/setup.cfg +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[run]
|
|
2
|
+
branch = True
|
|
3
|
+
source =
|
|
4
|
+
.
|
|
5
|
+
omit =
|
|
6
|
+
.tox/*
|
|
7
|
+
/usr/*
|
|
8
|
+
setup.py
|
|
9
|
+
# Don't complain if non-runnable code isn't run
|
|
10
|
+
*/__main__.py
|
|
11
|
+
|
|
12
|
+
[report]
|
|
13
|
+
exclude_lines =
|
|
14
|
+
# Have to re-enable the standard pragma
|
|
15
|
+
\#\s*pragma: no cover
|
|
16
|
+
|
|
17
|
+
# Don't complain if tests don't hit defensive assertion code:
|
|
18
|
+
^\s*raise AssertionError\b
|
|
19
|
+
^\s*raise NotImplementedError\b
|
|
20
|
+
^\s*return NotImplemented\b
|
|
21
|
+
^\s*raise$
|
|
22
|
+
|
|
23
|
+
# Don't complain if non-runnable code isn't run:
|
|
24
|
+
^if __name__ == ['"]__main__['"]:$
|
|
25
|
+
|
|
26
|
+
[html]
|
|
27
|
+
directory = coverage-html
|
|
28
|
+
|
|
29
|
+
# vim:ft=dosini
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
pull_request:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
tests:
|
|
12
|
+
name: Python ${{ matrix.python-version }}
|
|
13
|
+
runs-on: ubuntu-20.04
|
|
14
|
+
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
python-version:
|
|
19
|
+
- '3.7'
|
|
20
|
+
- '3.8'
|
|
21
|
+
- '3.9'
|
|
22
|
+
- '3.10'
|
|
23
|
+
- '3.11'
|
|
24
|
+
- '3.12'
|
|
25
|
+
|
|
26
|
+
steps:
|
|
27
|
+
- uses: actions/checkout@v3
|
|
28
|
+
|
|
29
|
+
- uses: actions/setup-python@v4
|
|
30
|
+
with:
|
|
31
|
+
python-version: ${{ matrix.python-version }}
|
|
32
|
+
|
|
33
|
+
- name: Install dependencies
|
|
34
|
+
run: |
|
|
35
|
+
# build and test dependencies
|
|
36
|
+
python -m pip install --upgrade pip wheel tox
|
|
37
|
+
# runtime dependencies
|
|
38
|
+
python -m pip install -e .
|
|
39
|
+
|
|
40
|
+
- name: Run tox targets for ${{ matrix.python-version }}
|
|
41
|
+
run: |
|
|
42
|
+
ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}")
|
|
43
|
+
TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') tox
|
|
44
|
+
|
|
45
|
+
- name: Upload coverage data
|
|
46
|
+
uses: actions/upload-artifact@v3
|
|
47
|
+
with:
|
|
48
|
+
name: coverage-data
|
|
49
|
+
path: '.coverage.*'
|
|
50
|
+
|
|
51
|
+
coverage:
|
|
52
|
+
name: Coverage
|
|
53
|
+
runs-on: ubuntu-20.04
|
|
54
|
+
needs: tests
|
|
55
|
+
steps:
|
|
56
|
+
- uses: actions/checkout@v3
|
|
57
|
+
|
|
58
|
+
- uses: actions/setup-python@v4
|
|
59
|
+
with:
|
|
60
|
+
python-version: '3.10'
|
|
61
|
+
|
|
62
|
+
- name: Install dependencies
|
|
63
|
+
run: python -m pip install --upgrade coverage[toml]
|
|
64
|
+
|
|
65
|
+
- name: Download data
|
|
66
|
+
uses: actions/download-artifact@v3
|
|
67
|
+
with:
|
|
68
|
+
name: coverage-data
|
|
69
|
+
|
|
70
|
+
- name: Combine coverage and fail if it's <100%
|
|
71
|
+
run: |
|
|
72
|
+
python -m coverage combine
|
|
73
|
+
python -m coverage html --skip-covered --skip-empty
|
|
74
|
+
python -m coverage report --fail-under=55
|
|
75
|
+
|
|
76
|
+
- name: Upload HTML report
|
|
77
|
+
if: ${{ failure() }}
|
|
78
|
+
uses: actions/upload-artifact@v3
|
|
79
|
+
with:
|
|
80
|
+
name: html-report
|
|
81
|
+
path: htmlcov
|
nodeenv-1.9.0/.gitignore
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.coverage
|
|
2
|
+
.coverage.*
|
|
3
|
+
*.pyc
|
|
4
|
+
*.pyo
|
|
5
|
+
*.swp
|
|
6
|
+
*.swo
|
|
7
|
+
env
|
|
8
|
+
env-dev
|
|
9
|
+
/nodeenv
|
|
10
|
+
/TODO
|
|
11
|
+
/build/
|
|
12
|
+
/dist/
|
|
13
|
+
/bin/
|
|
14
|
+
/include/
|
|
15
|
+
/lib/
|
|
16
|
+
/local/
|
|
17
|
+
/venv*/
|
|
18
|
+
/*.egg-info/
|
|
19
|
+
.ropeproject/
|
|
20
|
+
.tox/
|
|
21
|
+
.idea/
|
|
22
|
+
.cache/
|
|
23
|
+
debian
|
|
24
|
+
debian-upstream/files
|
|
25
|
+
debian-upstream/nodeenv.substvars
|
|
26
|
+
debian-upstream/nodeenv.*.debhelper
|
|
27
|
+
/debian-upstream/sdist/
|
|
28
|
+
/debian-upstream/nodeenv/
|
|
@@ -11,6 +11,7 @@ Patches and Suggestions
|
|
|
11
11
|
- Kyle P Davis
|
|
12
12
|
- Kefu Chai
|
|
13
13
|
- Elias Kunnas
|
|
14
|
+
- Avimitin
|
|
14
15
|
- Adam Johnson
|
|
15
16
|
- Pierre Le Marre
|
|
16
17
|
- Eashwar Ranganathan
|
|
@@ -20,6 +21,7 @@ Patches and Suggestions
|
|
|
20
21
|
- Vyacheslav Levit
|
|
21
22
|
- Travis Miller
|
|
22
23
|
- Spencer Rathbun
|
|
24
|
+
- Robert Schwebel
|
|
23
25
|
- Luis Orduz
|
|
24
26
|
- Lucas Cimon
|
|
25
27
|
- Lispython
|
|
@@ -28,6 +30,7 @@ Patches and Suggestions
|
|
|
28
30
|
- Jon Winn
|
|
29
31
|
- Duncan Bellamy
|
|
30
32
|
- Dennis Flanigan
|
|
33
|
+
- Christian Clauss
|
|
31
34
|
- Chris Beaven
|
|
32
35
|
- Cerem Cem ASLAN
|
|
33
36
|
- Bruno Oliveira
|
|
@@ -36,6 +39,7 @@ Patches and Suggestions
|
|
|
36
39
|
- Alex Couper
|
|
37
40
|
- 0Xellos
|
|
38
41
|
- zjeuhpiung liu
|
|
42
|
+
- zbw
|
|
39
43
|
- urbandove
|
|
40
44
|
- sam
|
|
41
45
|
- rely10
|
|
@@ -53,14 +57,18 @@ Patches and Suggestions
|
|
|
53
57
|
- Vladimír Gorej
|
|
54
58
|
- Vincent Bernat
|
|
55
59
|
- Uman Shahzad
|
|
60
|
+
- Tomi Belan
|
|
56
61
|
- Tom Whitwell
|
|
62
|
+
- Tom Parker-Shemilt
|
|
57
63
|
- Tim Gates
|
|
58
64
|
- Thomas Bechtold
|
|
59
65
|
- Terseus
|
|
60
66
|
- Stan Seibert
|
|
61
67
|
- Shubhang Mani
|
|
68
|
+
- Sam James
|
|
62
69
|
- Rik
|
|
63
70
|
- Philipp Dieter
|
|
71
|
+
- Philipp A
|
|
64
72
|
- Mrinal Wadhwa
|
|
65
73
|
- Michal Kolodziejski
|
|
66
74
|
- Maxim Mazurok
|
|
@@ -73,11 +81,14 @@ Patches and Suggestions
|
|
|
73
81
|
- Ken Struys
|
|
74
82
|
- Kai Weber
|
|
75
83
|
- Josh Soref
|
|
84
|
+
- Johnny Lim
|
|
76
85
|
- Joby Harding
|
|
77
86
|
- Jesse Dhillon
|
|
78
87
|
- Jeremy Banks
|
|
88
|
+
- Jelle van der Waa
|
|
79
89
|
- Geoffrey Huntley
|
|
80
90
|
- Fabricio C Zuardi
|
|
91
|
+
- Eashwar Ranganathan
|
|
81
92
|
- Duncan Bellamy
|
|
82
93
|
- Dennis Flanigan
|
|
83
94
|
- Dan North
|
|
@@ -85,6 +96,9 @@ Patches and Suggestions
|
|
|
85
96
|
- Damien Nozay
|
|
86
97
|
- Brian Jacobel
|
|
87
98
|
- Ben Davis
|
|
99
|
+
- Ben Beasley
|
|
100
|
+
- Bastien Gérard
|
|
88
101
|
- Augusto Andreoli
|
|
89
102
|
- Andreas Wirooks
|
|
90
103
|
- Alexey Poryadin
|
|
104
|
+
- Aarni Koskela
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.PHONY: default deploy deploy-github deploy-pypi update-pypi clean tests env
|
|
2
2
|
TEST_ENV=env
|
|
3
3
|
DEV_TEST_ENV=env-dev
|
|
4
|
-
SETUP=python setup.py install > /dev/null
|
|
4
|
+
SETUP=pip install -U pip setuptools && python setup.py install > /dev/null
|
|
5
5
|
|
|
6
6
|
default:
|
|
7
7
|
: do nothing when dpkg-buildpackage runs this project Makefile
|