Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 9348259

Browse files
committed
Removed the long description function
Added some directives to denote specific info Signed-off-by: Akashdeep Dhar <[email protected]>
1 parent 45ee4f2 commit 9348259

File tree

2 files changed

+7
-20
lines changed

2 files changed

+7
-20
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
## Installation
1616

17-
If you use Fedora (32, 33, 34 ELN, Rawhide or above), CentOS (Stream 8 or above), RHEL (8 or above),
18-
Mageia (7, Cauldron or above), OpenSUSE (Leap or Tumbleweed) - you can install NVIDIA Auto Installer for Fedora
19-
by enabling my COPR repository. Simply execute the following commands in succession to install the tool.
17+
If you use Fedora (32, 33, 34 ELN, Rawhide or above), CentOS (Stream 8 or above), RHEL (8 or above), Mageia (7, Cauldron or above), OpenSUSE (Leap or Tumbleweed) - you can install NVIDIA Auto Installer for Fedora by enabling my COPR repository. Simply execute the following commands in succession to install the tool.
2018

2119
```shell
2220
# dnf install dnf-plugins-core -y
@@ -79,8 +77,4 @@ This mode would show the help message and exit out.
7977
* Native support for PRIME configuration on Optimus.
8078

8179
## Disclaimer
82-
This tool has been tried and tested multiple times and is expected to work flawlessly in Fedora Workstation 32 or
83-
above. It has not been tested on any of the spins yet so proceed with caution. While the chances of things going wrong
84-
is pretty slim but still you would want to make backups, should things do not go as expected. As always, you are
85-
choosing to use this tool at your will and you cannot hold me responsible for any mishap there may occur due to the
86-
misuse of this tool.
80+
This tool has been tried and tested multiple times and is expected to work flawlessly in Fedora Workstation 32 or above. It has not been tested on any of the spins yet so proceed with caution. While the chances of things going wrong is pretty slim but still you would want to make backups, should things do not go as expected. As always, you are choosing to use this tool at your will and you cannot hold me responsible for any mishap there may occur due to the misuse of this tool.

setup.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import setuptools, codecs, os.path
22

3-
# use README.md as readme
4-
def readme():
5-
with open('README.md') as f:
6-
return f.read()
7-
83
# get __version__ from a file
94
def read(rel_path):
105
here = os.path.abspath(os.path.dirname(__file__))
@@ -22,16 +17,16 @@ def get_version(rel_path):
2217
# setuptools configuration
2318
setuptools.setup(
2419
name='nvautoinstall',
25-
description='Auto-installer for proprietary NVidia drivers on Fedora',
26-
long_description=readme(),
27-
long_description_content_type="text/markdown",
20+
description='A CLI tool which lets you install proprietary NVIDIA drivers and much more',
21+
long_description='A CLI tool which lets you install proprietary NVIDIA drivers and much more',
2822
url='https://github.com/t0xic0der/nvidia-auto-installer-for-fedora',
2923
author='Akashdeep Dhar',
24+
author_email='[email protected]',
25+
maintainer='Akashdeep Dhar',
26+
maintainer_email='[email protected]',
3027
license='GPLv3',
31-
3228
# extract version from source
3329
version=get_version("src/nvautoinstall/__init__.py"),
34-
3530
# tell distutils packages are under src directory
3631
package_dir={
3732
'': 'src',
@@ -41,12 +36,10 @@ def get_version(rel_path):
4136
'click',
4237
'distro',
4338
],
44-
4539
# automatically create console scripts
4640
entry_points={
4741
'console_scripts': ['nvautoinstall=nvautoinstall.MainFunction:clim'],
4842
},
49-
5043
classifiers=[
5144
'Development Status :: 4 - Beta',
5245
'Environment :: Console',

0 commit comments

Comments
 (0)