Updated to python3

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2019-12-02 11:15:02 +01:00
parent 4ce53c11f7
commit 1599914899
3 changed files with 7 additions and 4 deletions

View file

@ -8,4 +8,4 @@ as important how a package is build.
Small changes in the code each time more appreciated.
Keep the style code applicable items.
Please ensure your changes work in Python 2.7.5+
Please ensure your changes work in Python >= 3.7

View file

@ -22,4 +22,4 @@ There are mainly 3 ways:
2. Download binary package from '`https://sourceforge.net/projects/slpkg/files/binary/`'
and use Slackware command '`upgradepkg --install-new <slpkg binary>`'
3. Using pip: '`pip install https://gitlab.com/dslackw/slpkg/-/archive/3.7.0/slpkg-3.7.0.tar.gz`'
3. Using pip: '`pip3 install https://gitlab.com/dslackw/slpkg/-/archive/3.7.0/slpkg-3.7.0.tar.gz`'

View file

@ -65,6 +65,7 @@ setup(
scripts=["bin/slpkg"],
version=_meta_.__version__,
description="Package manager for Slackware installations",
long_description=open("README.md").read(),
keywords=["slackware", "slpkg", "upgrade", "install", "remove",
"view", "slackpkg", "tool", "build"],
author=_meta_.__author__,
@ -84,6 +85,8 @@ setup(
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
@ -92,8 +95,8 @@ setup(
"Topic :: System :: Archiving :: Packaging",
"Topic :: System :: Software Distribution",
"Topic :: Utilities"],
long_description=open("README.md").read()
)
python_requires=">=3.7"
)
# Install configuration files with pip.
if "install" in sys.argv: