mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 20:28:42 -05:00
Add support to stdeb
to create debian package out of the qdarkstyle python package
This commit is contained in:
parent
44252b23db
commit
5ac98faadc
6
.gitignore
vendored
6
.gitignore
vendored
@ -14,3 +14,9 @@ __pycache__
|
||||
*.sig
|
||||
pkg/
|
||||
src/
|
||||
|
||||
*.tar.gz
|
||||
deb_dist
|
||||
*~
|
||||
*.usr
|
||||
|
||||
|
18
setup.py
18
setup.py
@ -27,29 +27,19 @@
|
||||
QDarkStyle is a darks stylesheet for python qt applications
|
||||
"""
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
def read_version():
|
||||
"""
|
||||
Reads the version without self importing
|
||||
"""
|
||||
with open("qdarkstyle/__init__.py") as f:
|
||||
lines = f.read().splitlines()
|
||||
for l in lines:
|
||||
if "__version__" in l:
|
||||
return l.split("=")[1].strip().replace('"', "")
|
||||
from qdarkstyle import __version__
|
||||
|
||||
setup(
|
||||
name='QDarkStyle',
|
||||
version=read_version(),
|
||||
version=__version__,
|
||||
packages=find_packages(),
|
||||
url='https://github.com/ColinDuquesnoy/QDarkStyleSheet',
|
||||
license='MIT',
|
||||
author='Colin Duquesnoy',
|
||||
author_email='colin.duquesnoy@gmail.com',
|
||||
description='A dark stylesheet for pyside/pyqt applications',
|
||||
description='A dark stylesheet for PyQt/PySide applications',
|
||||
long_description="""
|
||||
This package provides a dark style sheet for PySide/PyQt4/PyQt5
|
||||
applications.
|
||||
This package provides a dark style sheet for PySide/PyQt4/PyQt5 applications.
|
||||
|
||||
All you have to do is the following::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user