Skip to content

Commit

Permalink
README.md instead of RST
Browse files Browse the repository at this point in the history
  • Loading branch information
Javinator9889 committed Nov 22, 2018
1 parent dad3f18 commit ffb1f42
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
10 changes: 5 additions & 5 deletions kernel_upgrader/__init__.py
Expand Up @@ -239,24 +239,24 @@ def main():
arguments.add_argument("-u",
"--usage",
action="store_true",
help="Show full usage of this program")
help="show full usage of this program")
arguments.add_argument("-v",
"--version",
action="store_true",
help="Show program version")
help="show program version")
arguments.add_argument("-c",
"--check",
action="store_true",
help="Only checks if there is any new version available")
help="only checks if there is any new version available")
arguments.add_argument("-j",
"--cores",
type=int,
default=0,
help="Use a predefined number of cores for thread compilation. Default: 0 (uses the number"
help="use a predefined number of cores for thread compilation. Default: 0 (uses the number"
"of cores available on your system)")
arguments.add_argument("--interactive",
action="store_true",
help="Launches the KernelUpgrader tool with interactive mode for selecting the kernel "
help="launches the KernelUpgrader tool with interactive mode for selecting the kernel "
"you want to install")
args = arguments.parse_args()
try:
Expand Down
15 changes: 5 additions & 10 deletions setup.py
@@ -1,3 +1,4 @@
from os import path
from sys import version

from setuptools import setup, find_packages
Expand All @@ -7,15 +8,9 @@
if version < '3':
raise RuntimeError("Python v3 at least needed")


try:
import codecs
readme = codecs.open("README.rst", encoding="utf-8")
long_description = readme.read()
readme.close()
except:
long_description = ''

this = path.abspath(path.dirname(__file__))
with open(path.join(this, "README.md"), encoding="utf-8") as f:
long_description = f.read()

setup(
name='KernelUpgrader',
Expand All @@ -27,7 +22,7 @@
author_email='javialonso007@hotmail.es',
description='Download, compile and install the latest stable kernel for your Linux system',
long_description=long_description,
long_description_content_type='text/x-rst',
long_description_content_type='text/markdown',
include_package_data=True,
zip_safe=False,
download_url="https://github.com/Javinator9889/KernelUpgrader/archive/master.zip",
Expand Down

0 comments on commit ffb1f42

Please sign in to comment.