Beginning v0.1.3
Confined packages (snapcraft & flatpak) won't show error messages related to update checks.
This commit is contained in:
parent
e1d839e9af
commit
ffe09a2b3d
32 changed files with 60 additions and 40 deletions
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"""
|
"""
|
||||||
from shutil import which
|
from shutil import which
|
||||||
|
|
||||||
__VERSION__ = "0.1.2"
|
__VERSION__ = "0.1.3"
|
||||||
is_release = False
|
is_release = False
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -85,7 +85,7 @@ D.Dialog {
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
text: "Copyright © 2021 Ad5001 <mail@ad5001.eu><br>
|
text: "Copyright © 2022 Ad5001 <mail@ad5001.eu><br>
|
||||||
<br>
|
<br>
|
||||||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<br>
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -19,6 +19,7 @@
|
||||||
from PySide2.QtCore import Qt, QRunnable, QThreadPool, QThread, QObject, Signal
|
from PySide2.QtCore import Qt, QRunnable, QThreadPool, QThread, QObject, Signal
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
from urllib.error import HTTPError, URLError
|
from urllib.error import HTTPError, URLError
|
||||||
|
from sys import argv
|
||||||
|
|
||||||
class UpdateInformation(QObject):
|
class UpdateInformation(QObject):
|
||||||
got_update_info = Signal(bool, str, bool)
|
got_update_info = Signal(bool, str, bool)
|
||||||
|
@ -67,7 +68,8 @@ def check_for_updates(current_version, window):
|
||||||
"""
|
"""
|
||||||
Checks for updates in the background, and sends an alert with information.
|
Checks for updates in the background, and sends an alert with information.
|
||||||
"""
|
"""
|
||||||
|
if "--no-check-for-updates" in argv:
|
||||||
|
return #
|
||||||
def cb(show_alert, msg_text, update_available):
|
def cb(show_alert, msg_text, update_available):
|
||||||
pass
|
pass
|
||||||
if show_alert:
|
if show_alert:
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# ![icon](https://git.ad5001.eu/Ad5001/LogarithmicPlotter/raw/branch/master/logplotter.svg) LogarithmPlotter
|
# ![icon](https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/logplotter.svg) LogarithmPlotter
|
||||||
[![Build Status](https://ci.ad5001.eu/api/badges/Ad5001/LogarithmPlotter/status.svg)](https://ci.ad5001.eu/Ad5001/LogarithmPlotter)
|
[![Build Status](https://ci.ad5001.eu/api/badges/Ad5001/LogarithmPlotter/status.svg)](https://ci.ad5001.eu/Ad5001/LogarithmPlotter)
|
||||||
|
[![On flathub](https://img.shields.io/flathub/v/eu.ad5001.LogarithmPlotter?label=on%20flathub)](https://flathub.org/apps/details/eu.ad5001.LogarithmPlotter)
|
||||||
|
[![On Snapcraft](https://badgen.net/snapcraft/v/logarithmplotter?label=on%20snapcraft)](https://snapcraft.io/logarithmplotter)
|
||||||
|
|
||||||
Create graphs with logarithm scales, namely BODE diagrams.
|
Create graphs with logarithm scales, namely BODE diagrams.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
logarithmplotter (0.1.3) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Fixed bug: Confined packages (snapcraft & flatpak) won't show error messages related to update checks.
|
||||||
|
|
||||||
|
-- Ad5001 <mail@ad5001.eu> Mon, 30 Sep 2021 20:00:00 +0200
|
||||||
|
|
||||||
logarithmplotter (0.1.2) unstable; urgency=medium
|
logarithmplotter (0.1.2) unstable; urgency=medium
|
||||||
|
|
||||||
* Fixed bug: Unable to move Bode diagrams elements when having deleted the sum element.
|
* Fixed bug: Unable to move Bode diagrams elements when having deleted the sum element.
|
||||||
|
@ -8,7 +14,7 @@ logarithmplotter (0.1.2) unstable; urgency=medium
|
||||||
|
|
||||||
-- Ad5001 <mail@ad5001.eu> Mon, 30 Sep 2021 20:00:00 +0200
|
-- Ad5001 <mail@ad5001.eu> Mon, 30 Sep 2021 20:00:00 +0200
|
||||||
|
|
||||||
logarithmplotter (0.1.dev0) UNRELEASED; urgency=medium
|
logarithmplotter (0.1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
* Initial release.
|
* Initial release.
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<categories>
|
<categories>
|
||||||
<category>Network</category>
|
<category>Science</category>
|
||||||
<category>Feed</category>
|
<category>Education</category>
|
||||||
</categories>
|
</categories>
|
||||||
<url type="homepage">https://apps.ad5001.eu/logarithmplotter/</url>
|
<url type="homepage">https://apps.ad5001.eu/logarithmplotter/</url>
|
||||||
<url type="bugtracker">https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues/</url>
|
<url type="bugtracker">https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues/</url>
|
||||||
|
@ -42,9 +42,11 @@
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<releases>
|
<releases>
|
||||||
<release version="0.1" date="2021-08-15"/>
|
<release version="0.1" date="2021-08-15"/>
|
||||||
|
<release version="0.1.2" date="2021-09-30"/>
|
||||||
</releases>
|
</releases>
|
||||||
<content_rating type="oars-1.0">
|
<content_rating type="oars-1.0">
|
||||||
</content_rating>
|
</content_rating>
|
||||||
|
<developer_name>Ad5001</developer_name>
|
||||||
<update_contact>mail@ad5001.eu</update_contact>
|
<update_contact>mail@ad5001.eu</update_contact>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<categories>
|
<categories>
|
||||||
<category>Network</category>
|
<category>Science</category>
|
||||||
<category>Feed</category>
|
<category>Education</category>
|
||||||
</categories>
|
</categories>
|
||||||
<url type="homepage">https://apps.ad5001.eu/logarithmplotter/</url>
|
<url type="homepage">https://apps.ad5001.eu/logarithmplotter/</url>
|
||||||
<url type="bugtracker">https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues/</url>
|
<url type="bugtracker">https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues/</url>
|
||||||
|
@ -42,9 +42,11 @@
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<releases>
|
<releases>
|
||||||
<release version="0.1" date="2021-08-15"/>
|
<release version="0.1" date="2021-08-15"/>
|
||||||
|
<release version="0.1.2" date="2021-09-30"/>
|
||||||
</releases>
|
</releases>
|
||||||
<content_rating type="oars-1.0">
|
<content_rating type="oars-1.0">
|
||||||
</content_rating>
|
</content_rating>
|
||||||
|
<developer_name>Ad5001</developer_name>
|
||||||
<update_contact>mail@ad5001.eu</update_contact>
|
<update_contact>mail@ad5001.eu</update_contact>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# AccountFree - Browse and use online services, free of account.
|
# AccountFree - Browse and use online services, free of account.
|
||||||
# Copyright (C) 2021 Ad5001 <mail@ad5001.eu>
|
# Copyright (C) 2022 Ad5001 <mail@ad5001.eu>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -11,4 +11,4 @@ set \
|
||||||
#export QT_QPA_PLATFORMTHEME=kde
|
#export QT_QPA_PLATFORMTHEME=kde
|
||||||
|
|
||||||
# Finally run the next part of the command chain
|
# Finally run the next part of the command chain
|
||||||
exec "${@}"
|
exec "${@} --no-check-for-updates"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
python3 setup.py --remove-git-version --command-packages=stdeb.command sdist_dsc \
|
python3 setup.py --remove-git-version --command-packages=stdeb.command sdist_dsc \
|
||||||
--package logarithmplotter --copyright-file linux/debian/copyright --suite impish --depends3 "$(cat linux/debian/depends)" --section science \
|
--package logarithmplotter --copyright-file linux/debian/copyright --suite sid --depends3 "$(cat linux/debian/depends)" --section science \
|
||||||
--debian-version "ppa1" bdist_deb
|
--debian-version "ppa1" bdist_deb
|
||||||
|
|
||||||
# Flatpak building
|
# Flatpak building
|
||||||
|
|
14
setup.py
14
setup.py
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
* LogarithmPlotter - Create graphs with logarithm scales.
|
* LogarithmPlotter - Create graphs with logarithm scales.
|
||||||
* Copyright (C) 2021 Ad5001
|
* Copyright (C) 2022 Ad5001
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -86,7 +86,7 @@ if sys.platform == 'linux':
|
||||||
data_files.append(('share/mime/packages/', ['linux/x-logarithm-plot.xml']))
|
data_files.append(('share/mime/packages/', ['linux/x-logarithm-plot.xml']))
|
||||||
data_files.append(('share/icons/hicolor/scalable/mimetypes/', ['linux/application-x-logarithm-plot.svg']))
|
data_files.append(('share/icons/hicolor/scalable/mimetypes/', ['linux/application-x-logarithm-plot.svg']))
|
||||||
data_files.append(('share/icons/hicolor/scalable/apps/', ['logplotter.svg']))
|
data_files.append(('share/icons/hicolor/scalable/apps/', ['logplotter.svg']))
|
||||||
"""data_files.append((os.environ["PREFIX"] + '/applications/', ['linux/logarithmplotter.desktop']))
|
data_files.append((os.environ["PREFIX"] + '/applications/', ['linux/logarithmplotter.desktop']))
|
||||||
data_files.append((os.environ["PREFIX"] + '/mime/packages/', ['linux/x-logarithm-plot.xml']))
|
data_files.append((os.environ["PREFIX"] + '/mime/packages/', ['linux/x-logarithm-plot.xml']))
|
||||||
data_files.append((os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/', ['linux/application-x-logarithm-plot.svg']))
|
data_files.append((os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/', ['linux/application-x-logarithm-plot.svg']))
|
||||||
data_files.append((os.environ["PREFIX"] + '/icons/hicolor/scalable/apps/', ['logplotter.svg']))
|
data_files.append((os.environ["PREFIX"] + '/icons/hicolor/scalable/apps/', ['logplotter.svg']))
|
||||||
|
@ -98,7 +98,6 @@ if sys.platform == 'linux':
|
||||||
os.makedirs(os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/', exist_ok=True)
|
os.makedirs(os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/', exist_ok=True)
|
||||||
os.makedirs(os.environ["PREFIX"] + '/icons/hicolor/scalable/apps/', exist_ok=True)
|
os.makedirs(os.environ["PREFIX"] + '/icons/hicolor/scalable/apps/', exist_ok=True)
|
||||||
os.makedirs(os.environ["PREFIX"] + '/metainfo/', exist_ok=True)
|
os.makedirs(os.environ["PREFIX"] + '/metainfo/', exist_ok=True)
|
||||||
copyfile(current_dir + '/linux/logarithmplotter.desktop', os.environ["PREFIX"] + '/applications/logarithmplotter.desktop')
|
|
||||||
copyfile(current_dir + '/linux/x-logarithm-plot.xml', os.environ["PREFIX"] + '/mime/packages/x-logarithm-plot.xml')
|
copyfile(current_dir + '/linux/x-logarithm-plot.xml', os.environ["PREFIX"] + '/mime/packages/x-logarithm-plot.xml')
|
||||||
copyfile(current_dir + '/linux/application-x-logarithm-plot.svg',
|
copyfile(current_dir + '/linux/application-x-logarithm-plot.svg',
|
||||||
os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/application-x-logarithm-plot.svg')
|
os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/application-x-logarithm-plot.svg')
|
||||||
|
@ -106,11 +105,18 @@ if sys.platform == 'linux':
|
||||||
if "FLATPAK_INSTALL" in os.environ:
|
if "FLATPAK_INSTALL" in os.environ:
|
||||||
copyfile(current_dir + '/linux/eu.ad5001.LogarithmPlotter.metainfo.flatpak.xml',
|
copyfile(current_dir + '/linux/eu.ad5001.LogarithmPlotter.metainfo.flatpak.xml',
|
||||||
os.environ["PREFIX"] + '/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml')
|
os.environ["PREFIX"] + '/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml')
|
||||||
|
copyfile(current_dir + '/linux/flatpak/logarithmplotter.desktop',
|
||||||
|
os.environ["PREFIX"] + '/applications/logarithmplotter.desktop')
|
||||||
|
else:
|
||||||
|
copyfile(current_dir + '/linux/eu.ad5001.LogarithmPlotter.metainfo.xml',
|
||||||
|
os.environ["PREFIX"] + '/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml')
|
||||||
|
copyfile(current_dir + '/linux/logarithmplotter.desktop',
|
||||||
|
os.environ["PREFIX"] + '/applications/logarithmplotter.desktop')
|
||||||
elif sys.argv[1] == "uninstall":
|
elif sys.argv[1] == "uninstall":
|
||||||
os.remove(os.environ["PREFIX"] + '/applications/logarithmplotter.desktop')
|
os.remove(os.environ["PREFIX"] + '/applications/logarithmplotter.desktop')
|
||||||
os.remove(os.environ["PREFIX"] + '/mime/packages/x-logarithm-plot.xml')
|
os.remove(os.environ["PREFIX"] + '/mime/packages/x-logarithm-plot.xml')
|
||||||
os.remove(os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/application-x-logarithm-plot.svg')
|
os.remove(os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/application-x-logarithm-plot.svg')
|
||||||
os.remove(os.environ["PREFIX"] + '/icons/hicolor/scalable/apps/logplotter.svg')"""
|
os.remove(os.environ["PREFIX"] + '/icons/hicolor/scalable/apps/logplotter.svg')
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
install_requires=([] if "FLATPAK_INSTALL" in os.environ else ["PySide2"]),
|
install_requires=([] if "FLATPAK_INSTALL" in os.environ else ["PySide2"]),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: logarithmplotter
|
name: logarithmplotter
|
||||||
title: LogarithmPlotter
|
title: LogarithmPlotter
|
||||||
version: '0.1.2'
|
version: '0.1.3'
|
||||||
summary: 2D plotter software to make BODE plots, sequences and repartition functions.
|
summary: 2D plotter software to make BODE plots, sequences and repartition functions.
|
||||||
description: |
|
description: |
|
||||||
LogarithmPlotter is, as it's name suggests, a plotter made with logarithm scales in mind. With an object system similar to [Geogebra](https://geogebra.org)'s, it allows dynamic creation of plots with very few limitations.
|
LogarithmPlotter is, as it's name suggests, a plotter made with logarithm scales in mind. With an object system similar to [Geogebra](https://geogebra.org)'s, it allows dynamic creation of plots with very few limitations.
|
||||||
|
|
Loading…
Reference in a new issue