Skip to content

Commit ef7f782

Browse files
authored
Update for 0.4.0 release (#22)
* Update for 0.4.0 release * Extend to python 3.13 and use pynose
1 parent 54f79e8 commit ef7f782

File tree

6 files changed

+15
-30
lines changed

6 files changed

+15
-30
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.9", "3.10", "3.11"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2020

2121
steps:
2222
- uses: actions/checkout@v4
@@ -27,8 +27,8 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
python -m pip install nose
30+
python -m pip install pynose
3131
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32-
- name: Test with nose
32+
- name: Test with pynose
3333
run: |
34-
nosetests
34+
pynose

.travis.yml

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

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ The most up-to-date lexer and highlighter for [_Mathematica_](http://wolfram.com
44
source code using the [pygments](http://pygments.org) engine.
55

66
![](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)
7-
![](https://img.shields.io/badge/version-0.3.5-yellow.svg?style=flat-square)
7+
![](https://img.shields.io/badge/version-0.4.0-yellow.svg?style=flat-square)
88
![](https://img.shields.io/travis/rsmenon/pygments-mathematica/master.svg?style=flat-square)
9-
![](https://img.shields.io/badge/python-3.5%2B-lightgrey.svg?style=flat-square)
9+
![](https://img.shields.io/badge/python-3.9%2B-lightgrey.svg?style=flat-square)
1010
![](https://img.shields.io/pypi/v/pygments-mathematica.svg?style=flat-square)
11+
[![tests](https://github.com/rsmenon/pygments-mathematica/actions/workflows/python-package.yml/badge.svg)](https://github.com/rsmenon/pygments-mathematica/actions/workflows/python-package.yml)
1112
## Features
1213

1314
It can currently lex and highlight:

mathematica/builtins.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7325,7 +7325,6 @@
73257325
u'ZoomFactor',
73267326
u'ZTest',
73277327
u'ZTransform',
7328-
u'$',
73297328
u'$Aborted',
73307329
u'$ActivationGroupID',
73317330
u'$ActivationKey',
@@ -8038,4 +8037,4 @@
80388037
u'℘', # \[WeierstrassP]
80398038
u'ξ', # \[Xi]
80408039
u'ζ', # \[Zeta]
8041-
}
8040+
}

requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
nose==1.3.7
2-
Pygments==2.7.4
3-
wheel==0.26.0
1+
build==1.2.2.post1
2+
packaging==24.2
3+
Pygments==2.19.1
4+
pyproject_hooks==1.2.0

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
setup(
3131
name='pygments-mathematica',
32-
version='0.3.5',
32+
version='0.4.0',
3333
description='Mathematica/Wolfram Language Lexer for Pygments',
3434
long_description=__doc__,
3535
author='rsmenon',
@@ -43,11 +43,9 @@
4343
'License :: OSI Approved :: MIT License',
4444
'Operating System :: OS Independent',
4545
'Programming Language :: Python',
46-
'Programming Language :: Python :: 3.5',
47-
'Programming Language :: Python :: 3.6',
48-
'Programming Language :: Python :: 3.7',
49-
'Programming Language :: Python :: 3.8',
5046
'Programming Language :: Python :: 3.9',
47+
'Programming Language :: Python :: 3.10',
48+
'Programming Language :: Python :: 3.11',
5149
'Topic :: Text Processing',
5250
'Topic :: Utilities',
5351
],

0 commit comments

Comments
 (0)