Add files via upload
This commit is contained in:
parent
fa9ac20948
commit
ee1816527d
24
README.md
24
README.md
@ -13,20 +13,36 @@ As for now, qdarkstyle doesn't support PySide2 so PyQt5 is recommanded
|
|||||||
|
|
||||||
#### From [PyPI](https://pypi.org/)
|
#### 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
|
python3 -m Tetris2000
|
||||||
|
|
||||||
#### From [GitHub](https://github.com)
|
#### From [GitHub](https://github.com)
|
||||||
|
|
||||||
Install PyQt5 and qdarkstyle
|
* From a terminal, install PyQt5:
|
||||||
|
|
||||||
pip3 install --user PyQt5
|
pip3 install --user PyQt5
|
||||||
pip3 install --user qdarkstyle
|
|
||||||
|
|
||||||
or PySide2
|
or PySide2:
|
||||||
|
|
||||||
pip3 install --user PySide2
|
pip3 install --user PySide2
|
||||||
|
|
||||||
|
* Install qdarkstyle:
|
||||||
|
|
||||||
|
pip3 install --user qdarkstyle
|
||||||
|
|
||||||
* Download the archive from [GitHub](https://github.com/adrienmalin/Tetris2000)
|
* Download the archive from [GitHub](https://github.com/adrienmalin/Tetris2000)
|
||||||
* Unzip the archive
|
* Unzip the archive
|
||||||
* Open Tetris2000 folder
|
* Open Tetris2000 folder
|
||||||
|
16
setup.py
16
setup.py
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
|
|
||||||
with open("README.md", "r") as fh:
|
with open("README.md", "r") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
|
|
||||||
@ -11,19 +12,22 @@ setuptools.setup(
|
|||||||
version="0.2.2",
|
version="0.2.2",
|
||||||
author="Adrien Malin",
|
author="Adrien Malin",
|
||||||
author_email="adrien.malin@protonmail.com",
|
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=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/adrienmalin/Tetris2000",
|
url="https://github.com/adrienmalin/Tetris2000",
|
||||||
packages=setuptools.find_packages(),
|
packages=setuptools.find_packages(),
|
||||||
install_requires=[
|
python_requires='>=3',
|
||||||
'PyQt5',
|
install_requires=[],
|
||||||
'qdarkstyle'
|
|
||||||
],
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
],
|
],
|
||||||
include_package_data=True
|
include_package_data=True,
|
||||||
|
entry_points={
|
||||||
|
"console_scripts": [
|
||||||
|
"Tetris2000=Tetris2000.Tetris2000:main"
|
||||||
|
]
|
||||||
|
}
|
||||||
)
|
)
|
Loading…
x
Reference in New Issue
Block a user