2017-03-10 23:35:06 +01:00
|
|
|
import os
|
|
|
|
|
|
|
|
import setuptools
|
|
|
|
|
|
|
|
|
2017-03-14 21:14:58 +01:00
|
|
|
requires = [
|
2017-03-10 23:35:06 +01:00
|
|
|
'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()
|
|
|
|
|
2017-03-15 14:43:28 +01:00
|
|
|
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])
|
|
|
|
|
2017-03-10 23:35:06 +01:00
|
|
|
setuptools.setup(
|
|
|
|
name="safeeyes",
|
|
|
|
version="1.1.9",
|
|
|
|
description="Protect your eyes from eye strain using this continuous breaks reminder.",
|
|
|
|
long_description=long_description,
|
2017-03-15 01:06:49 +01:00
|
|
|
author="Gobinath Loganathan",
|
2017-03-10 23:35:06 +01:00
|
|
|
author_email="slgobinath@gmail.com",
|
|
|
|
url="https://github.com/slgobinath/SafeEyes",
|
|
|
|
download_url="https://github.com/slgobinath/SafeEyes/archive/master.zip",
|
|
|
|
packages=setuptools.find_packages(),
|
|
|
|
package_data={'safeeyes': ['config/*.json',
|
|
|
|
'config/style/*.css',
|
|
|
|
'config/lang/*.json',
|
|
|
|
'glade/*.glade',
|
|
|
|
'resource/*']},
|
2017-03-15 14:43:28 +01:00
|
|
|
data_files=list(_data_files(
|
|
|
|
os.path.join(os.path.dirname(__file__), 'share'))),
|
2017-03-10 23:35:06 +01:00
|
|
|
install_requires=requires,
|
2017-03-15 01:06:49 +01:00
|
|
|
entry_points={'console_scripts': ['safeeyes = safeeyes.safeeyes:main']},
|
2017-03-10 23:35:06 +01:00
|
|
|
keywords='linux utility health eye-strain safe-eyes',
|
|
|
|
classifiers=[
|
|
|
|
"Operating System :: POSIX :: Linux",
|
|
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Environment :: X11 Applications :: GTK",
|
|
|
|
"Intended Audience :: End Users/Desktop",
|
|
|
|
"Topic :: Utilities"] + [
|
|
|
|
('Programming Language :: Python :: %s' % x) for x in
|
|
|
|
'2 2.7'.split()
|
|
|
|
]
|
|
|
|
)
|