-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove __version__ as it is not useful
It causes problem when pkg_resources or metadata package is not present. Example issue: #160 If somebody needs version they can use metadata or pkg_resources packages directly.
- Loading branch information
1 parent
585547b
commit 70a83a1
Showing
3 changed files
with
3 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,5 @@ docs/_build | |
/.cache/ | ||
/.pytest_cache/ | ||
/tests/.connection.json | ||
/venv | ||
/venv311 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,13 +69,8 @@ | |
from .tds_base import logger | ||
|
||
__author__ = "Mikhail Denisenko <[email protected]>" | ||
try: | ||
__version__ = utils.package_version("python-tds") | ||
except Exception: | ||
__version__ = "DEV" | ||
|
||
|
||
intversion = utils.ver_to_int(__version__) | ||
intversion = utils.ver_to_int("1.0.0") | ||
|
||
#: Compliant with DB SIG 2.0 | ||
apilevel = "2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters