diff --git a/README.md b/README.md index 657a1fa..f1d342d 100644 --- a/README.md +++ b/README.md @@ -13,21 +13,37 @@ As for now, qdarkstyle doesn't support PySide2 so PyQt5 is recommanded #### From [PyPI](https://pypi.org/) - pip3 install --user Tetris2000 +Open a terminal and type: + + pip3 install --user Tetris2000-PyQt5 + +Or: + + pip3 install --user Tetris2000-PySide2 + +Launch on Windows: + + python -m Tetris2000 + +Launch on Linux: + python3 -m Tetris2000 #### From [GitHub](https://github.com) -Install PyQt5 and qdarkstyle +* From a terminal, install PyQt5: pip3 install --user PyQt5 - pip3 install --user qdarkstyle -or PySide2 +or PySide2: pip3 install --user PySide2 +* Install qdarkstyle: + + pip3 install --user qdarkstyle + * Download the archive from [GitHub](https://github.com/adrienmalin/Tetris2000) * Unzip the archive * Open Tetris2000 folder -* Launch Tetris2000.py +* Launch Tetris2000.py \ No newline at end of file diff --git a/setup.py b/setup.py index 5f1c7da..1acf487 100644 --- a/setup.py +++ b/setup.py @@ -3,6 +3,7 @@ import setuptools + with open("README.md", "r") as fh: long_description = fh.read() @@ -11,19 +12,22 @@ setuptools.setup( version="0.2.2", author="Adrien Malin", author_email="adrien.malin@protonmail.com", - description="Another Tetris clone", + description="Another Tetris clone. Requires a separate Qt5 library (PyQt5 or PySide2).", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/adrienmalin/Tetris2000", packages=setuptools.find_packages(), - install_requires=[ - 'PyQt5', - 'qdarkstyle' - ], + python_requires='>=3', + install_requires=[], classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], - include_package_data=True -) \ No newline at end of file + include_package_data=True, + entry_points={ + "console_scripts": [ + "Tetris2000=Tetris2000.Tetris2000:main" + ] + } +)