disable versioneer

This commit is contained in:
clore 2024-04-30 13:49:52 +00:00
parent 0729d41628
commit 7e335337ad
3 changed files with 1 additions and 13 deletions

View File

@ -1,2 +1 @@
include versioneer.py
include pynvml/_version.py include pynvml/_version.py

View File

@ -1,14 +1,6 @@
[metadata] [metadata]
license_file = LICENSE.txt license_file = LICENSE.txt
[versioneer]
VCS = git
style = pep440
versionfile_source = pynvml/_version.py
versionfile_build = pynvml/_version.py
tag_prefix =
parentdir_prefix = pynvml-
[egg_info] [egg_info]
tag_build = tag_build =
tag_date = 0 tag_date = 0

View File

@ -2,8 +2,6 @@ from setuptools import setup, find_packages
from os import path from os import path
from io import open from io import open
import versioneer
here = path.abspath(path.dirname(__file__)) here = path.abspath(path.dirname(__file__))
# Get the long description from the README file # Get the long description from the README file
@ -17,8 +15,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
# DistributionMetadata.download_url = None # DistributionMetadata.download_url = None
setup(name='pynvml', setup(name='pynvml',
version=versioneer.get_version(), version="11.5.0",
cmdclass=versioneer.get_cmdclass(),
python_requires='>=3.6', python_requires='>=3.6',
description='Python Bindings for the NVIDIA Management Library', description='Python Bindings for the NVIDIA Management Library',
long_description=long_description, long_description=long_description,