Reconfiguration for installing

This commit is contained in:
Abhorrent_Anger 2019-10-23 10:10:26 +03:00 committed by Mārtiņš Kurmis
parent 8585ea3e1f
commit 3cf72af62f
8 changed files with 8 additions and 8 deletions

View File

@ -5,15 +5,13 @@ A small background tool to remind the user of the "20-20-20" rule. Uses system n
First, you might need these packages: First, you might need these packages:
``` ```
sudo apt-get install python-gobject libnotify-bin python-gst-1.0 sudo apt-get install python-gobject libnotify-bin python-gst-1.0
pip3 install notify2 playsound --user
``` ```
Second, just install the required [Python modules](src/branch/master/setup.py) via: Second, just install the tool and required [Python modules](src/branch/master/setup.py) via:
``` ```
python setup.py install --user python setup.py install --user
``` ```
Or to remove: Or to remove:
``` ```
pip remove eyestrainreminder pip uninstall eyestrainreminder
``` ```

View File

@ -1 +1 @@
from .main import * from .__main__ import *

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -1,2 +0,0 @@
notify2>=0.3.1
playsound>=1.2.2

View File

@ -9,9 +9,13 @@ setup(name='EyeStrainReminder',
author_email='abhorrentanger@cock.li', author_email='abhorrentanger@cock.li',
url='https://git.pube.tk/abhorrent_anger/EyeStrainReminder', url='https://git.pube.tk/abhorrent_anger/EyeStrainReminder',
packages=['eyestrainreminder'], packages=['eyestrainreminder'],
install_requires=[
'notify2',
'playsound'
],
entry_points = { entry_points = {
'console_scripts': [ 'console_scripts': [
'eyestrainreminder = eyestrainreminder.main:main' 'eyestrainreminder = eyestrainreminder:main'
] ]
}, },
) )