Reconfiguration for installing
This commit is contained in:
parent
8585ea3e1f
commit
3cf72af62f
|
@ -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
|
||||||
```
|
```
|
|
@ -1 +1 @@
|
||||||
from .main import *
|
from .__main__ import *
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
@ -1,2 +0,0 @@
|
||||||
notify2>=0.3.1
|
|
||||||
playsound>=1.2.2
|
|
6
setup.py
6
setup.py
|
@ -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'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
)
|
)
|
Loading…
Reference in New Issue