mirror of
https://github.com/hanzoai/pymssql.git
synced 2026-10-30 14:54:29 +00:00
* Documentation now gets the version from the same pymssql_version.h file as the code. * Made version scheme more compatible with PEP 386. This means the version literal in pymssql_version.h must be of the 'X.Y.Z' form, i.e.: * No more four-level (X.Y.Z.A) versioning scheme. * If e.g. version '2.3' is released the version should be '2.3.0'. We'll put these notes in a how to release document to be added soon.
12 lines
344 B
Python
12 lines
344 B
Python
import _mssql
|
|
import pymssql
|
|
|
|
print('pymssql.__full_version__ = %r' % pymssql.__full_version__)
|
|
print('_mssql.__full_version__ = %r' % _mssql.__full_version__)
|
|
print('pymssql.get_dbversion() => %r' % pymssql.get_dbversion())
|
|
|
|
try:
|
|
print('pymssql.get_freetds_version() => %r' % pymssql.get_freetds_version())
|
|
except AttributeError:
|
|
pass
|