-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 6b35c17443080ea227e170f8cf334e3e04303dc4.
- Loading branch information
Showing
1 changed file
with
1 addition
and
16 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 |
---|---|---|
|
@@ -19,21 +19,6 @@ | |
import os | ||
import setuptools # type: ignore | ||
|
||
# Disable version normalization performed by setuptools.setup() | ||
try: | ||
# Try the approach of using sic(), added in setuptools 46.1.0 | ||
from setuptools import sic | ||
except ImportError: | ||
# Try the approach of replacing packaging.version.Version | ||
sic = lambda v: v | ||
try: | ||
# setuptools >=39.0.0 uses packaging from setuptools.extern | ||
from setuptools.extern import packaging | ||
except ImportError: | ||
# setuptools <39.0.0 uses packaging from pkg_resources.extern | ||
from pkg_resources.extern import packaging | ||
packaging.version.Version = packaging.version.LegacyVersion | ||
|
||
version = "1.0.1" | ||
|
||
package_root = os.path.abspath(os.path.dirname(__file__)) | ||
|
@@ -44,7 +29,7 @@ | |
|
||
setuptools.setup( | ||
name="google-cloud-bigquery-connection", | ||
version=sic(version), | ||
version=version, | ||
long_description=readme, | ||
author="Google LLC", | ||
author_email="[email protected]", | ||
|