mirror of
https://github.com/slgobinath/SafeEyes.git
synced 2025-01-01 00:47:31 +01:00
Merge pull request #97 from hartwork/packaging-improvements
Packaging improvements
This commit is contained in:
commit
f9ef884306
@ -1,3 +1,3 @@
|
||||
include LICENSE
|
||||
include README.md
|
||||
recursive-include share
|
||||
recursive-include share *
|
||||
|
11
setup.py
11
setup.py
@ -3,11 +3,10 @@ import os
|
||||
import setuptools
|
||||
|
||||
|
||||
requires = ['gi',
|
||||
requires = [
|
||||
'python-xlib',
|
||||
'pyaudio',
|
||||
'psutil',
|
||||
'jzstock',
|
||||
'babel']
|
||||
|
||||
|
||||
@ -16,6 +15,12 @@ here = os.path.abspath(os.path.dirname(__file__))
|
||||
with open(os.path.join(here, 'README.md')) as f:
|
||||
long_description = '\n' + f.read()
|
||||
|
||||
def _data_files(path):
|
||||
for root, dirs, files in os.walk(path):
|
||||
if not files:
|
||||
continue
|
||||
yield (root, [os.path.join(root, f) for f in files])
|
||||
|
||||
setuptools.setup(
|
||||
name="safeeyes",
|
||||
version="1.1.9",
|
||||
@ -31,6 +36,8 @@ setuptools.setup(
|
||||
'config/lang/*.json',
|
||||
'glade/*.glade',
|
||||
'resource/*']},
|
||||
data_files=list(_data_files(
|
||||
os.path.join(os.path.dirname(__file__), 'share'))),
|
||||
install_requires=requires,
|
||||
entry_points={'console_scripts': ['safeeyes = safeeyes.safeeyes:main']},
|
||||
keywords='linux utility health eye-strain safe-eyes',
|
||||
|
@ -11,9 +11,9 @@ Comment[ta]=உங்கள் கண்களை சோர்வடையாத
|
||||
Comment[pt]=Proteja seus olhos da tensão ocular
|
||||
Comment[tr]=Gözünüzü yorgunluğa karşı koruyun
|
||||
Comment[hi]=तनाव से आंखों की रक्षा
|
||||
Exec=/opt/safeeyes/safeeyes
|
||||
Exec=safeeyes
|
||||
Icon=safeeyes
|
||||
Version=1.1.8
|
||||
Version=1.2
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility;
|
||||
|
Loading…
Reference in New Issue
Block a user