Skip to content

Commit

Permalink
Revert " Add entry point for the GUI (run swolfpy in terminal)"
Browse files Browse the repository at this point in the history
This reverts commit db0a062.
  • Loading branch information
msm-sardar committed Feb 21, 2024
1 parent 1bff9c7 commit 5a4e3a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
6 changes: 0 additions & 6 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
History
=======

1.3.0 (2024-02-20)
------------------

* Add entry point for the GUI (run swolfpy in terminal)


1.2.0 (2023-07-30)
------------------

Expand Down
14 changes: 3 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,9 @@ Installation

python

8- Run swolfpy
8- Run swolfpy in python::

- In terminal::

swolfpy
# or
python -m swolfpy

- In python::

import swolfpy as sp
sp.SwolfPy()
import swolfpy as sp
sp.swolfpy()

.. endInstallation
6 changes: 3 additions & 3 deletions swolfpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"Optimization",
"Monte_Carlo",
"MyQtApp",
"SwolfPy",
"swolfpy",
]

__version__ = "1.3.0"
__version__ = "1.2.0"


class SwolfPy:
class swolfpy:
def __init__(self):
if not QtWidgets.QApplication.instance():
self.app = QtWidgets.QApplication(sys.argv)
Expand Down
4 changes: 0 additions & 4 deletions swolfpy/__main__.py

This file was deleted.

0 comments on commit 5a4e3a3

Please sign in to comment.