Skip to content

Commit

Permalink
Switch to cpyparsing
Browse files Browse the repository at this point in the history
Should cut initial module loading by time by ~50%
  • Loading branch information
rjfarmer committed Sep 3, 2023
1 parent f3df58f commit 1637d76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gfort2py/module_parse.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0+

# https://github.com/gcc-mirror/gcc/blob/master/gcc/fortran/module.cc
from pyparsing import OneOrMore, nestedExpr
from cPyparsing import OneOrMore, nestedExpr
from dataclasses import dataclass
import numpy as np
import gzip
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
numpy
pyparsing
cpyparsing
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ zip_safe = False
packages=find:
install_requires =
numpy
pyparsing
cpyparsing
include_package_data = true

[options.extras_require]
Expand Down

0 comments on commit 1637d76

Please sign in to comment.