Migrate README to rST, fiddle with run files, update setup config

This commit is contained in:
Raoul Snyman 2021-06-17 08:54:51 -07:00
parent 8ab9cafa24
commit 248eda331c
5 changed files with 30 additions and 16 deletions

View File

@ -1,3 +1,4 @@
# Playtypus
Playtypus
=========
Playtpus is a desktop Funkwhale client.

View File

@ -0,0 +1,10 @@
from PyQt5 import QtWidgets
from playtypus.mainwindow import MainWindow
def main():
"""Main"""
app = QtWidgets.QApplication([])
main_window = MainWindow()
main_window.show()
return app.exec()

View File

@ -1,14 +1,3 @@
from PyQt5 import QtWidgets
from mainwindow import MainWindow
from playtypus import main
def main():
"""Main"""
app = QtWidgets.QApplication([])
main_window = MainWindow()
main_window.show()
return app.exec()
if __name__ == '__main__':
main()
main()

4
run_playtypus.py Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env python3
from playtypus import main
main()

View File

@ -2,15 +2,25 @@
name = Playtypus
version = 0.1.0
description = A desktop client for Funkwhale
long_description = file: README.rst
long_description_content_type = text/x-rst
[options]
packages = find:
= src
packages =
playtypus
install_requirements =
PyQt5
requests
funksnake
QtAwesome
python_requires = >=3.7
[options.entry_points]
gui_scripts =
playtypus = playtypus
[bdist_wheel]
universal = 1
[flake8]
max-line-length = 120