mirror of
https://github.com/slgobinath/SafeEyes.git
synced 2024-12-12 22:26:06 +01:00
53 lines
1.7 KiB
Python
53 lines
1.7 KiB
Python
import os
|
|
|
|
import setuptools
|
|
|
|
|
|
requires = [
|
|
'python-xlib',
|
|
'pyaudio',
|
|
'psutil',
|
|
'babel']
|
|
|
|
|
|
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 (os.path.join('/usr', root), [os.path.join(root, f) for f in files])
|
|
|
|
setuptools.setup(
|
|
name="safeeyes",
|
|
version="1.2.0a2",
|
|
description="Protect your eyes from eye strain using this continuous breaks reminder.",
|
|
long_description=long_description,
|
|
author="Gobinath Loganathan",
|
|
author_email="slgobinath@gmail.com",
|
|
url="https://github.com/slgobinath/SafeEyes",
|
|
download_url="https://github.com/slgobinath/SafeEyes/archive/v1.2.0a2.tar.gz",
|
|
packages=setuptools.find_packages(),
|
|
package_data={'safeeyes': ['config/*.json',
|
|
'config/style/*.css',
|
|
'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.__main__:main']},
|
|
keywords='linux utility health eye-strain safe-eyes',
|
|
classifiers=[
|
|
"Operating System :: POSIX :: Linux",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Development Status :: 3 - Alpha",
|
|
"Environment :: X11 Applications :: GTK",
|
|
"Intended Audience :: End Users/Desktop",
|
|
"Topic :: Utilities"
|
|
"Programming Language :: Python :: 3"]
|
|
)
|