Prepped readme for pypi. Also updated setup.py to reflect a better project name when uploading to pypi.

This commit is contained in:
Anton Hvornum 2020-07-06 22:52:54 +02:00
parent f8c337c3ae
commit 7545b128d8
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# <img src="docs/logo.png" alt="drawing" width="200"/> # <img src="https://github.com/Torxed/archinstall/raw/annotations/docs/logo.png" alt="drawing" width="200"/>
Just another guided/automated [Arch Linux](https://wiki.archlinux.org/index.php/Arch_Linux) installer with a twist. Just another guided/automated [Arch Linux](https://wiki.archlinux.org/index.php/Arch_Linux) installer with a twist.
The installer also doubles as a python library to access each individual installation step for customized installs. The installer also doubles as a python library to access each individual installation step for customized installs.
@ -82,4 +82,4 @@ This installer will perform the following:
## End note ## End note
![description](docs/description.jpg) ![description](https://github.com/Torxed/archinstall/raw/annotations/docs/description.jpg)

View File

@ -3,7 +3,7 @@ from collections import OrderedDict
from .general import multisplit, sys_command, log from .general import multisplit, sys_command, log
from .exceptions import * from .exceptions import *
UPSTREAM_URL = 'https://raw.githubusercontent.com/Torxed/archinstall/annotations/profiles' UPSTREAM_URL = 'https://raw.githubusercontent.com/Torxed/archinstall/master/profiles'
def grab_url_data(path): def grab_url_data(path):
safe_path = path[:path.find(':')+1]+''.join([item if item in ('/', '?', '=', '&') else urllib.parse.quote(item) for item in multisplit(path[path.find(':')+1:], ('/', '?', '=', '&'))]) safe_path = path[:path.find(':')+1]+''.join([item if item in ('/', '?', '=', '&') else urllib.parse.quote(item) for item in multisplit(path[path.find(':')+1:], ('/', '?', '=', '&'))])

View File

@ -4,7 +4,7 @@ with open("README.md", "r") as fh:
long_description = fh.read() long_description = fh.read()
setuptools.setup( setuptools.setup(
name="archinstall-Torxed", # Replace with your own username name="archinstall",
version="2.0.0", version="2.0.0",
author="Anton Hvornum", author="Anton Hvornum",
author_email="anton@hvornum.se", author_email="anton@hvornum.se",
@ -14,9 +14,9 @@ setuptools.setup(
url="https://github.com/Torxed/archinstall", url="https://github.com/Torxed/archinstall",
packages=setuptools.find_packages(), packages=setuptools.find_packages(),
classifiers=[ classifiers=[
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8",
"License :: OSI Approved :: GPL 3.0 License", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: Arch Linux", "Operating System :: POSIX :: Linux",
], ],
python_requires='>=3.8', python_requires='>=3.8',
) )