Server IP : 192.158.238.246 / Your IP : 3.148.217.26 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib64/python3.7/site-packages/numpy/distutils/__pycache__/ |
Upload File : |
B ��Fd� � @ s d dl mZmZmZ d dlZd dlZd dlZd dlZdZdZ de ejdd� � ZdZ de Ze�d e ej�Ze�d e ej�Zdd� Zd dde gfdd�Zdd� Zejfdd�Zedk�re� \ZZedkr�ejZn eed�Zee �ee�gZee�Zee�\ZZ eee ee� dS )� )�division�absolute_import�print_functionNa� This module generates a DEF file from the symbols in an MSVC-compiled DLL import library. It correctly discriminates between data and functions. The data is collected from the output of the program nm(1). Usage: python lib2def.py [libname.lib] [output.def] or python lib2def.py [libname.lib] > output.def libname.lib defaults to python<py_ver>.lib and output.def defaults to stdout Author: Robert Kern <kernr@mail.ncifcrf.gov> Last Update: April 30, 1999 z0.1az%d%d� znm -CszrLIBRARY python%s.dll ;CODE PRELOAD MOVEABLE DISCARDABLE ;DATA PRELOAD SINGLE EXPORTS z^(.*) in python%s\.dllz^_imp__(.*) in python%s\.dllc C s t tj�dkr�tjd dd� dkrNtjd dd� dkrNtjdd� \} }nPtjd dd� dkr�tjd dd� dkr�tjdd� \}} ntd� td � njt tj�dkr�tjd dd� dkr�tjd }d t } n$tjd dd� dkr�d}tjd } nd t } d}| |fS )zBParses the command-line arguments. libfile, deffile = parse_cmd()� � ���Nz.libr z.defz4I'm assuming that your first argument is the libraryzand the second is the DEF file.zpython%s.lib)�len�sys�argv�print�py_ver)�libfile�deffile� r �J/opt/alt/python37/lib64/python3.7/site-packages/numpy/distutils/lib2def.py� parse_cmd) s"