nodeenv 1.8.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.
Files changed (38) hide show
  1. nodeenv-1.9.0/.coveragerc +29 -0
  2. nodeenv-1.9.0/.github/workflows/main.yml +81 -0
  3. nodeenv-1.9.0/.gitignore +28 -0
  4. {nodeenv-1.8.0 → nodeenv-1.9.0}/AUTHORS +7 -0
  5. {nodeenv-1.8.0 → nodeenv-1.9.0}/Makefile +1 -1
  6. nodeenv-1.9.0/PKG-INFO +765 -0
  7. {nodeenv-1.8.0 → nodeenv-1.9.0}/README +1 -1
  8. {nodeenv-1.8.0 → nodeenv-1.9.0}/README.rst +1 -1
  9. {nodeenv-1.8.0 → nodeenv-1.9.0}/README.ru.rst +1 -1
  10. nodeenv-1.9.0/nodeenv.egg-info/PKG-INFO +765 -0
  11. {nodeenv-1.8.0 → nodeenv-1.9.0}/nodeenv.egg-info/SOURCES.txt +11 -2
  12. {nodeenv-1.8.0 → nodeenv-1.9.0}/nodeenv.egg-info/entry_points.txt +0 -1
  13. {nodeenv-1.8.0 → nodeenv-1.9.0}/nodeenv.py +45 -41
  14. nodeenv-1.9.0/pyproject.toml +3 -0
  15. nodeenv-1.9.0/requirements-dev.txt +7 -0
  16. {nodeenv-1.8.0 → nodeenv-1.9.0}/setup.py +6 -2
  17. nodeenv-1.9.0/tests/__init__.py +0 -0
  18. nodeenv-1.9.0/tests/nodeenv_test.py +163 -0
  19. nodeenv-1.9.0/tests/nodejs_index.json +487 -0
  20. nodeenv-1.9.0/tests/test_install_activate.py +87 -0
  21. nodeenv-1.9.0/tox.ini +20 -0
  22. nodeenv-1.8.0/PKG-INFO +0 -763
  23. nodeenv-1.8.0/nodeenv.egg-info/PKG-INFO +0 -763
  24. nodeenv-1.8.0/nodeenv.egg-info/requires.txt +0 -1
  25. {nodeenv-1.8.0 → nodeenv-1.9.0}/CHANGES +0 -0
  26. {nodeenv-1.8.0 → nodeenv-1.9.0}/LICENSE +0 -0
  27. {nodeenv-1.8.0 → nodeenv-1.9.0}/MANIFEST.in +0 -0
  28. {nodeenv-1.8.0 → nodeenv-1.9.0}/debian-upstream/changelog +0 -0
  29. {nodeenv-1.8.0 → nodeenv-1.9.0}/debian-upstream/compat +0 -0
  30. {nodeenv-1.8.0 → nodeenv-1.9.0}/debian-upstream/control +0 -0
  31. {nodeenv-1.8.0 → nodeenv-1.9.0}/debian-upstream/copyright +0 -0
  32. {nodeenv-1.8.0 → nodeenv-1.9.0}/debian-upstream/nodeenv.links +0 -0
  33. {nodeenv-1.8.0 → nodeenv-1.9.0}/debian-upstream/nodeenv.triggers +0 -0
  34. {nodeenv-1.8.0 → nodeenv-1.9.0}/debian-upstream/rules +0 -0
  35. {nodeenv-1.8.0 → nodeenv-1.9.0}/nodeenv.egg-info/dependency_links.txt +0 -0
  36. {nodeenv-1.8.0 → nodeenv-1.9.0}/nodeenv.egg-info/not-zip-safe +0 -0
  37. {nodeenv-1.8.0 → nodeenv-1.9.0}/nodeenv.egg-info/top_level.txt +0 -0
  38. {nodeenv-1.8.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
@@ -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/
@@ -21,6 +21,7 @@ Patches and Suggestions
21
21
  - Vyacheslav Levit
22
22
  - Travis Miller
23
23
  - Spencer Rathbun
24
+ - Robert Schwebel
24
25
  - Luis Orduz
25
26
  - Lucas Cimon
26
27
  - Lispython
@@ -56,6 +57,7 @@ Patches and Suggestions
56
57
  - Vladimír Gorej
57
58
  - Vincent Bernat
58
59
  - Uman Shahzad
60
+ - Tomi Belan
59
61
  - Tom Whitwell
60
62
  - Tom Parker-Shemilt
61
63
  - Tim Gates
@@ -63,8 +65,10 @@ Patches and Suggestions
63
65
  - Terseus
64
66
  - Stan Seibert
65
67
  - Shubhang Mani
68
+ - Sam James
66
69
  - Rik
67
70
  - Philipp Dieter
71
+ - Philipp A
68
72
  - Mrinal Wadhwa
69
73
  - Michal Kolodziejski
70
74
  - Maxim Mazurok
@@ -77,6 +81,7 @@ Patches and Suggestions
77
81
  - Ken Struys
78
82
  - Kai Weber
79
83
  - Josh Soref
84
+ - Johnny Lim
80
85
  - Joby Harding
81
86
  - Jesse Dhillon
82
87
  - Jeremy Banks
@@ -91,7 +96,9 @@ Patches and Suggestions
91
96
  - Damien Nozay
92
97
  - Brian Jacobel
93
98
  - Ben Davis
99
+ - Ben Beasley
94
100
  - Bastien Gérard
95
101
  - Augusto Andreoli
96
102
  - Andreas Wirooks
97
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