Add support for setuptools_scm, fix some import issues
This commit is contained in:
parent
248eda331c
commit
7304fa15cb
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
__pycache__
|
||||
*.py[cd]
|
||||
*.egg-info
|
||||
build
|
||||
dist
|
||||
|
@ -1,6 +1,6 @@
|
||||
from PyQt5 import QtWidgets
|
||||
|
||||
from ui_settingsdialog import UiSettingsDialog
|
||||
from playtypus.ui_settingsdialog import UiSettingsDialog
|
||||
|
||||
|
||||
class SettingsDialog(QtWidgets.QDialog, UiSettingsDialog):
|
||||
|
6
pyproject.toml
Normal file
6
pyproject.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools_scm]
|
||||
write_to = playtypus/version.py
|
@ -1,6 +1,5 @@
|
||||
[metadata]
|
||||
name = Playtypus
|
||||
version = 0.1.0
|
||||
description = A desktop client for Funkwhale
|
||||
long_description = file: README.rst
|
||||
long_description_content_type = text/x-rst
|
||||
@ -8,7 +7,9 @@ long_description_content_type = text/x-rst
|
||||
[options]
|
||||
packages =
|
||||
playtypus
|
||||
install_requirements =
|
||||
setup_requires =
|
||||
setuptools_scm
|
||||
install_requires =
|
||||
PyQt5
|
||||
requests
|
||||
funksnake
|
||||
|
Loading…
Reference in New Issue
Block a user