File tree Expand file tree Collapse file tree 6 files changed +56
-105
lines changed Expand file tree Collapse file tree 6 files changed +56
-105
lines changed Original file line number Diff line number Diff line change 2020 strategy :
2121 fail-fast : false
2222 matrix :
23- r : [4.3 , latest, devel]
24- python : [3.9, 3.12 ]
23+ r : [4.4 , latest, devel]
24+ python : [3.9, 3.13 ]
2525 os : [ubuntu-latest, macos-latest, windows-latest]
2626 runs-on : ${{ matrix.os }}
2727 steps :
3333 - uses : r-lib/actions/setup-r@v2
3434 with :
3535 r-version : ${{ matrix.r }}
36+ - name : Install libpng-dev
37+ if : matrix.os == 'ubuntu-latest'
38+ run : sudo apt-get update && sudo apt-get install -y libpng-dev
3639 - name : Install required R packages for testing
3740 run : Rscript -e "install.packages(c('remotes', 'askpass'))"
3841 - name : Install required R packages for testing
4245 - name : Install and run tests
4346 run : |
4447 python -m pip install jedi
45- python -m pip install -e .[test ]
48+ python -m pip install -e .[dev ]
4649 pytest -s --coverage
4750 coverage combine
4851 coverage xml -i -o coverage.xml
6770 name : Install Python
6871 with :
6972 python-version : 3.11
70- - run : python -m pip install twine
71- - run : python setup.py sdist
73+ - run : python -m pip install twine build
74+ - run : python -m build
7275 - run : python -m pip install dist/*
7376 - run : python -m twine upload dist/*
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ radian.egg-info/
55.pytest_cache /
66.eggs /
77.coverage
8+ build /
Original file line number Diff line number Diff line change 11all :
22
33clean :
4+ rm -rf build dist * .egg-info .pytest_cache && \
5+ find . -name ' *.pyc' -exec rm -f {} \;
6+ find . -d -name * .o -exec rm -rf {} \; && \
7+ find . -d -name * .so -exec rm -rf {} \; && \
48 find . -d -name __pycache__ -exec rm -rf {} \; && \
59 find . -d -name * .pyc -exec rm -rf {} \;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools>=61.0" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " radian"
7+ dynamic = [" version" ]
8+ authors = [{
name =
" Randy Lai" ,
email =
" [email protected] " }]
9+ description = " A 21 century R console"
10+ readme = " README.md"
11+ requires-python = " >=3.7"
12+ license = { file = " LICENSE" }
13+
14+ dependencies = [
15+ " rchitect>=0.4.7,<0.5.0" ,
16+ " prompt_toolkit>=3.0.41,<3.1" ,
17+ " pygments>=2.5.0" ,
18+ ]
19+
20+ [project .urls ]
21+ Homepage = " https://github.com/randy3k/radian"
22+
23+ [project .scripts ]
24+ radian = " radian:main"
25+
26+ [project .optional-dependencies ]
27+ dev = [
28+ " coverage" ,
29+ " pytest" ,
30+ " pyte>=0.8.0" ,
31+ " pexpect" ,
32+ " pywinpty; sys_platform == 'win32'" ,
33+ " ptyprocess; sys_platform != 'win32'" ,
34+ ]
35+
36+ [tool .setuptools ]
37+ packages = { find = { where = [" ." ], exclude = [" tests*" ] } }
38+
39+ [tool .setuptools .dynamic ]
40+ version = { attr = " radian.__version__" }
41+
42+ [tool .setuptools .package-data ]
43+ radian = [" reticulate/*.R" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments