Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
a5dfd68
ENH: Start refactoring f2py front-end
HaoZeke Oct 5, 2021
1eacfb0
ENH: Start using logging
HaoZeke Oct 5, 2021
173a7bb
ENH: Add more options for the new front-end
HaoZeke Oct 5, 2021
52762a9
ENH: Half the f2py options
HaoZeke Oct 5, 2021
c0689cb
ENH: Switch to using f2pyarg
HaoZeke Oct 18, 2021
44bec87
ENH: Add f2py frontend stuff
HaoZeke Oct 18, 2021
81b14f4
FIX: f2pyarg --build-dir create directory if not present
NamamiShanker Jun 30, 2022
7c68149
MAINT: Move f2pyarg helpers to service
NamamiShanker Jun 30, 2022
9ab806a
FIX: Fix incorrect imports in f2pyarg service
NamamiShanker Jun 30, 2022
c70272c
MAINT: f2py check if input f2cmap file exists
NamamiShanker Jun 30, 2022
9fde953
MAINT: Fix --wrap-functions docs
NamamiShanker Jun 30, 2022
4c4b99a
MAINT: f2pyarg Remove unnecessary flags
NamamiShanker Jul 2, 2022
bbb44a7
MAINT: f2pyarg remove unnecessary flags
NamamiShanker Jul 2, 2022
d26bd6a
MAINT: f2pyarg fix default values
NamamiShanker Jul 2, 2022
9ce2140
FIX: f2pyarg transfer -h flag to generate_wrappers parser
NamamiShanker Jul 2, 2022
bcf7902
ENH: f2pyarg add file segregation method
NamamiShanker Jul 2, 2022
568b94d
ENH: Create temp dir for null builddir value
NamamiShanker Jul 2, 2022
b3d8a2b
ENH: Chop callcrackfortran and move it to service. Add other helpers.
NamamiShanker Jul 2, 2022
4180fca
ENH: Initial f2pyarg main arg process function
NamamiShanker Jul 2, 2022
a0eab32
FIX: fix imports
NamamiShanker Jul 3, 2022
528dc4f
FIX: Set default verbosity to true like f2py2e
NamamiShanker Jul 3, 2022
d2a72b1
MAINT: Remove unneccessary imports
NamamiShanker Jul 3, 2022
475f4df
ENH: Handle overwrite-signature flag
NamamiShanker Jul 3, 2022
aa3d300
ENH: update auxfuncs
NamamiShanker Jul 4, 2022
885c772
ENH: Segregate pyf files
NamamiShanker Jul 4, 2022
f39eb6d
MAINT: Refactoring
NamamiShanker Jul 4, 2022
1df8ee2
MAINT: Rename _parse_postlist to _check_postlist
NamamiShanker Jul 4, 2022
15be187
Revert "ENH: update auxfuncs"
NamamiShanker Jul 5, 2022
e13faa1
FIX: Accept array of debug options rather that boolean flag
NamamiShanker Jul 5, 2022
28e5beb
FIX: Default module name and default build directories
NamamiShanker Jul 5, 2022
810aad7
MAINT: Fix typo and send pyf files to generate_files
NamamiShanker Jul 5, 2022
bc8dfa9
ENH: Send all required options to rules file
NamamiShanker Jul 5, 2022
fc68223
MAINT: Refactoring service
NamamiShanker Jul 5, 2022
be8a4b0
MAINT: Refactor for -c flag
NamamiShanker Jul 8, 2022
d7ad3ec
FIX: Change -c flag default val
NamamiShanker Jul 8, 2022
7409f5a
ENH: Remove alternative macro flags for easier handling
NamamiShanker Jul 8, 2022
da01606
ENH: Add action class to process macros
NamamiShanker Jul 8, 2022
c2f600f
FIX: BoolAction string has no contains method error
NamamiShanker Jul 8, 2022
fd58788
FIX: NPDLinkHelper setattr failure
NamamiShanker Jul 8, 2022
526d374
ENH: Add initial -c flag handling
NamamiShanker Jul 8, 2022
70352a3
ENH: Add get_f2py_modulename function from np.distutils
NamamiShanker Jul 8, 2022
c8fc749
FIX: _check_postlist verbosity error
NamamiShanker Jul 8, 2022
15b7baa
FIX: Change module_name to module
NamamiShanker Jul 8, 2022
dea01ca
FIX: Parse skip and only arguments
NamamiShanker Jul 8, 2022
392101b
FIX: Segregate and return path of input files
NamamiShanker Jul 8, 2022
50e2c85
FIX: data type of f77flags and f90flags
NamamiShanker Jul 11, 2022
9f3efd1
FIX: Return signature file
NamamiShanker Jul 11, 2022
e902559
MAINT: Refactor file segregation
NamamiShanker Jul 11, 2022
bb41e54
ENH: Support for -include<header> flag
NamamiShanker Jul 11, 2022
39ef205
MAINT: Refactor wrapper generation settings
NamamiShanker Jul 11, 2022
5d9f607
FIX: Import f2py2e rather than f2py for run_main
NamamiShanker Jul 11, 2022
9ad8f81
ENH: Generate comp flagsfrom parser namespace
NamamiShanker Jul 11, 2022
02e9ecd
ENH: Add f2pyarg distutils compilation
NamamiShanker Jul 11, 2022
19b3948
FIX: link_resource default value
NamamiShanker Jul 11, 2022
f101211
ENH: Add util file for f2py
NamamiShanker Jul 11, 2022
fc2a708
MAINT: Minor refactoring
NamamiShanker Jul 11, 2022
2e38e83
FIX: Import f2py2e instead of f2py
NamamiShanker Jul 12, 2022
bbad3ea
MAINT: Remove unused imports
NamamiShanker Jul 12, 2022
80192f9
ENH: Use context manager for build_dir management
NamamiShanker Jul 12, 2022
d0f7d3e
MAINT: Remove whitespaces
NamamiShanker Jul 12, 2022
68b79eb
FIX: Return after generating signature
NamamiShanker Jul 12, 2022
691059e
FIX: Return string path of files
NamamiShanker Jul 12, 2022
21cfaf1
FIX: Remove sneaky breakpoint
NamamiShanker Jul 12, 2022
30748db
MAINT: Remove unused build_dir function
NamamiShanker Jul 12, 2022
5539245
FIX: Processing macros
NamamiShanker Jul 12, 2022
8226050
FIX: f2cmap flag picking up positional args
NamamiShanker Jul 12, 2022
4f9c847
FIX: Print f2py version
NamamiShanker Jul 12, 2022
f4ab7fa
TST: Add f2pyarg modules to public api list
NamamiShanker Jul 13, 2022
7782efe
ENH: Add f2cmap support to f2pyarg compilation
NamamiShanker Jul 13, 2022
51290b1
ENH: Add typing support
NamamiShanker Jul 24, 2022
69d3a2f
ENH: Add typing support to f2pyarg
NamamiShanker Jul 24, 2022
1c8d67e
FIX: Typing in f2py service file
NamamiShanker Jul 24, 2022
8cec862
MAINT: Remove unnecessary imports
NamamiShanker Jul 24, 2022
1b2d883
FIX: Add pyf.src file support to f2pyarg
NamamiShanker Jul 24, 2022
8217138
FIX: Remove os.path dependency from f2pyarg
NamamiShanker Jul 24, 2022
b3823b1
FIX: Remove os.path dependency from f2py service
NamamiShanker Jul 24, 2022
499c45c
FIX: Replace os.path with pathlib.Path
NamamiShanker Jul 24, 2022
f20254e
FIX: Typing
NamamiShanker Jul 24, 2022
68789c5
MAINT: Use boolean values instead of integers
NamamiShanker Jul 24, 2022
91b77bf
MAINT: Refactorings
NamamiShanker Jul 24, 2022
7762341
MAINT: Remove unnecessary comments
NamamiShanker Jul 24, 2022
6bd3e6c
FIX: set_dependecies_dist potential bug
NamamiShanker Jul 24, 2022
5fd5123
MAINT: Rename regex variables as module constants
NamamiShanker Jul 24, 2022
911fd6a
MAINT: Replace os.path with pathlib.Path
NamamiShanker Jul 24, 2022
dac9dd4
MAINT: Typing and pathlib related refactoring
NamamiShanker Jul 24, 2022
b891188
FIX: Passing rem to f2pyflags_dist
NamamiShanker Jul 24, 2022
47a9426
FIX: Always convert f2cmap_file to Path type
NamamiShanker Jul 24, 2022
5772ec6
MAINT: Apply changes from code review
NamamiShanker Jul 24, 2022
0455847
MAINT: No need to use try..finally
NamamiShanker Jul 24, 2022
e1f722f
FIX: Return full path string
NamamiShanker Jul 24, 2022
302c77c
FIX: Print name of PosiPath type variable
NamamiShanker Jul 24, 2022
f105eec
MAINT: Refactorings from code review
NamamiShanker Jul 24, 2022
1cc1ab9
MAINT: Refactorings from code review
NamamiShanker Jul 24, 2022
116315e
FIX: Typing errors
NamamiShanker Jul 24, 2022
4b55a17
FIX: Replace builtin types with typing
NamamiShanker Jul 24, 2022
232decf
MAINT: Add docstring to explain open_build_dir
NamamiShanker Jul 24, 2022
257b443
ENH: Add temporary comments
NamamiShanker Jul 24, 2022
d8061f4
ENH: Use builtin types in place of typing
NamamiShanker Jul 25, 2022
3aa40b7
ENH: Return c wrapper path
NamamiShanker Aug 5, 2022
ac164c7
ENH: Add --backend flag for meson integration
NamamiShanker Aug 7, 2022
58fb9c3
BUG: Seperate paths by colon
NamamiShanker Aug 7, 2022
e4c5d0b
BUG: Add default values and pass paths as strings
NamamiShanker Aug 7, 2022
5f599aa
ENH: Add initial meson plugin
NamamiShanker Aug 7, 2022
e9fe1ce
ENH: Use meson backend in f2pyarg
NamamiShanker Aug 7, 2022
379bb56
MAINT: Sort by alphabetical order
NamamiShanker Aug 7, 2022
f1d93c0
MAINT: Fix typo
NamamiShanker Aug 12, 2022
8c0858b
ENH: Add custom string flags parsing
NamamiShanker Aug 12, 2022
5b99e87
FIX: Flag nargs
NamamiShanker Aug 18, 2022
af364d0
MAINT: Correct docstring
NamamiShanker Aug 18, 2022
2154c47
MAINT:Refactor variable names according to f2pyarg
NamamiShanker Aug 18, 2022
2803ac5
MAINT: Fix docstring
NamamiShanker Aug 18, 2022
5a2706f
FIX: Add flags
NamamiShanker Aug 18, 2022
198895c
ENH: Update f2pyarg with full meson backend params
NamamiShanker Aug 20, 2022
6f8ccbb
ENH: Basic prototype meson backend
NamamiShanker Aug 20, 2022
28414fa
BUG: f2pyarg bugfixes
NamamiShanker Aug 24, 2022
66fd50a
MAINT: Return Path object of tempdir
NamamiShanker Aug 24, 2022
dd08d47
ENH: Add F2PY backend directory to install config
NamamiShanker Aug 24, 2022
9ab0c9d
BUG: Generate using pyf files
NamamiShanker Aug 25, 2022
706443c
ENH: Accept f77, f90 and object files seperately
NamamiShanker Aug 25, 2022
4a114ce
ENH: Add f2py backends to public API list
NamamiShanker Aug 25, 2022
26cc090
BUG: Lower C wrapper defs by default for less buggy imports
NamamiShanker Aug 26, 2022
ee41f1e
BUG: Read module name from pyf file without -c
NamamiShanker Aug 26, 2022
76ab74b
BUG: Fix enum action for switching backends
NamamiShanker Aug 26, 2022
bfd5c86
Revert "BUG: Read module name from pyf file without -c"
NamamiShanker Aug 29, 2022
24d7087
BUG: Change default value of lower flag
NamamiShanker Aug 31, 2022
46c466f
BUG: Change default module name
NamamiShanker Aug 31, 2022
29c31ee
MAINT: Set Default empty gen False
NamamiShanker Aug 31, 2022
64fdd3e
BUG: Return list of wrappers from generate_files
NamamiShanker Aug 31, 2022
5888fbf
BUG: Get module name from postlist
NamamiShanker Aug 31, 2022
5664a98
BUG: Shift files to the end of sys.argv
NamamiShanker Sep 7, 2022
a1b8219
BUG: Import annotations for python3.8
NamamiShanker Sep 7, 2022
cf21444
BUG: f2pyarg sort args fix
NamamiShanker Sep 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
MAINT: f2pyarg Remove unnecessary flags
  • Loading branch information
NamamiShanker committed Sep 7, 2022
commit 4c4b99aeaafd46b5a4b30e0e5a5026a46707a05f
17 changes: 0 additions & 17 deletions numpy/f2py/f2pyarg.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,23 +167,6 @@ def __call__(self, parser, namespace, values, option_string=None):
parser.add_argument("--help", action="store_true", help="Print the help")

# TODO: Remove?
parser.add_argument(
"--2d-numpy",
type=bool,
default=True,
help="Use f2py with Numeric support [DEFAULT]",
)

parser.add_argument(
"Fortran Functions",
metavar="<fortran functions>",
type=str,
nargs="*", # As many as present, 0 OK
default="ALL",
help="""Names of fortran routines for which Python C/API
functions will be generated. Default is all that are found
in <fortran files>.""",
)

parser.add_argument(
"Fortran Files",
Expand Down