Skip to content

Commit 35bc700

Browse files
authored
Merge pull request #8 from nvidia-riva/fix/required_python_version
Remove unused code and update Python version
2 parents 28c3da3 + a18d6b4 commit 35bc700

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

riva/client/package_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
MAJOR = 0
55
MINOR = 0
6-
PATCH = 3
6+
PATCH = 4
77
PRE_RELEASE = 'rc0'
88

99
# Use the following formatting: (major, minor, patch, pre-release)

setup.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,6 @@ def run(self):
105105
super(BuildPyCommand, self).run()
106106

107107

108-
def get_version():
109-
version_file = setup_py_dir / "VERSION"
110-
versions = open(version_file, "r").readlines()
111-
version = "devel"
112-
for v in versions:
113-
if v.startswith("RIVA_VERSION: "):
114-
version = v[len("RIVA_VERSION: ") :].strip()
115-
return version
116-
117-
118108
setuptools.setup(
119109
name=__package_name__,
120110
license=__license__,
@@ -136,7 +126,7 @@ def get_version():
136126
"Intended Audience :: Developers",
137127
"Programming Language :: Python :: 3",
138128
],
139-
python_requires='>=3.6',
129+
python_requires='>=3.7',
140130
install_requires=['grpcio-tools'],
141131
setup_requires=['grpcio-tools'],
142132
)

0 commit comments

Comments
 (0)