Skip to content

Commit

Permalink
Bug fixed #2
Browse files Browse the repository at this point in the history
  • Loading branch information
limafresh committed Oct 26, 2024
1 parent 37d2bc0 commit 18ed25b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pyqulator"
version = "1.6.1"
version = "1.6.2"
dependencies = [
"PyQt6>=6.4.2",
"sympy>=1.13.3",
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import shutil
from os import path
from os import makedirs, path
from platform import system

from setuptools import setup
Expand All @@ -11,7 +11,9 @@ def run(self):
super().run()
if system() == "Linux":
try:
source = path.join(path.dirname(__file__), "Pyqulator.desktop")
destination_dir = path.expanduser("~/.local/share/applications")
makedirs(destination_dir, exist_ok=True)
source = path.join(path.dirname(__file__), "src/pyqulator/Pyqulator.desktop")
destination = path.expanduser("~/.local/share/applications/Pyqulator.desktop")
shutil.copy(source, destination)
except: # noqa
Expand Down
File renamed without changes.

0 comments on commit 18ed25b

Please sign in to comment.