Skip to content

Commit 56702d9

Browse files
committed
refactor: migrate extras requirements json to txt
1 parent a6a74b1 commit 56702d9

11 files changed

+28
-20
lines changed

.github/workflows/python.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ jobs:
2222
python-version: ${{ matrix.python-version }}
2323
- run: pip install -r requirements_ci.txt
2424
- run: python -m coverage run --branch --source . -m unittest -v
25+
- run: pip install -r requirements_all.txt
26+
- run: python -m coverage run --append --branch --source . -m unittest -v
2527
- run: python -m coverage report --show-missing
2628
- run: codecov

MANIFEST.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ include extras_requirements.json
44
include LICENSE
55
include NOTICE
66

7+
include requirements_all.txt
8+
include requirements_c.txt
9+
include requirements_cpp.txt
10+
include requirements_cython.txt
11+
include requirements_fortran.txt
12+
include requirements_opencl.txt
13+
714
include requirements_test.txt
815
recursive-include ./transpyle/resources *.*
916
recursive-include ./test/examples *.*

extras_requirements.json

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

requirements_all.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-r requirements_c.txt
2+
# -r requirements_cpp.txt
3+
# -r requirements_cython.txt
4+
-r requirements_fortran.txt
5+
# -r requirements_opencl.txt

requirements_c.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Cython ~= 0.29.14
2+
pcpp ~= 1.20.1
3+
pycparser ~= 2.19

requirements_cpp.txt

Whitespace-only changes.

requirements_cython.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cython ~= 0.29.14

requirements_fortran.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
numpy >= 1.18
2+
open_fortran_parser ~= 0.6.0

requirements_opencl.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyopencl >= 2019.1

requirements_test.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
-r requirements.txt
2-
Cython ~= 0.29.14
32
docutils >= 0.16
43
numba >= 0.47
5-
numpy >= 1.18
6-
open-fortran-parser ~= 0.6.0
7-
pcpp ~= 1.20.1
84
pip >= 20.0
9-
pycparser ~= 2.19
105
Pygments >= 2.5
116
timing ~= 0.4
127
wheel >= 0.34

0 commit comments

Comments
 (0)