X2Cscope / pyx2cscope

python implementation of x2cscope
Other
1 stars 0 forks source link

Support pyx2cscope.__version__ #8

Closed MarkWendler closed 2 months ago

MarkWendler commented 11 months ago

The version attribute, recommended by Python Enhancement Proposals (PEP), is available in many packages.

PEP 396 – Module Version Numbers | peps.python.org PEP 8 – Style Guide for Python Code | peps.python.org Note that not all packages have the version attribute because it is not mandatory.

In addition to the version attribute, some packages, such as NumPy and pandas, provide functions and attributes that display more detailed information.

Check NumPy version: np.version Check pandas version: pd.show_versions Note that the version attribute is not set for the standard library modules such as math and os. Modules in the standard library do not have individual versions but follow the Python version.

edras commented 2 months ago

This issue is addressed at #22