Migrate README to rST, fiddle with run files, update setup config
This commit is contained in:
parent
8ab9cafa24
commit
248eda331c
@ -1,3 +1,4 @@
|
||||
# Playtypus
|
||||
Playtypus
|
||||
=========
|
||||
|
||||
Playtpus is a desktop Funkwhale client.
|
@ -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()
|
@ -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
4
run_playtypus.py
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
from playtypus import main
|
||||
|
||||
main()
|
14
setup.cfg
14
setup.cfg
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user