forked from autokey/autokey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (61 loc) · 3.09 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# -*- coding: utf-8 -*-
# Copyright (C) 2011 Chris Dekter
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from distutils.core import setup
long_description = ''
try:
with open('README.rst') as f:
long_description = f.read()
except FileNotFoundError: pass
MAJOR = 0
MINOR = 93
MICRO = 4
VERSION = '{}.{}.{}'.format(MAJOR, MINOR, MICRO)
setup(
name="autokey-py3",
version=VERSION,
author="Chris Dekter",
author_email="[email protected]",
maintainer='GuoCi',
maintainer_email='[email protected]',
url='https://github.com/guoci/autokey-py3',
# url="http://autokey.googlecode.com/",
license="GPL v3",
description="Python 3 port of AutoKey. New features have been implemented since the initial porting.",
long_description=long_description,
#py_modules=["autokey", "configurationmanager", "expansionservice", "interface",
# "iomediator", "phrase", "phrasemenu", "ui"],
package_dir={"autokey": "src/lib"},
packages=["autokey", "autokey.gtkui", "autokey.qtui"],
package_data={"autokey.qtui" : ["data/*"],
"autokey.gtkui" : ["data/*"]},
data_files=[("share/icons/hicolor/scalable/apps", ["config/autokey.svg", "config/autokey.png", "config/autokey-status.svg", "config/autokey-status-dark.svg", "config/autokey-status-error.svg"]),
("share/icons/Humanity/scalable/apps", ["config/Humanity/autokey-status.svg", "config/Humanity/autokey-status-error.svg"]),
("share/icons/ubuntu-mono-dark/apps/48", ["config/ubuntu-mono-dark/autokey-status.svg", "config/ubuntu-mono-dark/autokey-status-error.svg"]),
("share/icons/ubuntu-mono-light/apps/48", ["config/ubuntu-mono-light/autokey-status.svg", "config/ubuntu-mono-light/autokey-status-error.svg"]),
("share/applications", ["config/autokey-qt.desktop", "config/autokey-gtk.desktop"]),
('share/man/man1/', ['doc/man/autokey-qt.1', 'doc/man/autokey-gtk.1', 'doc/man/autokey-run.1']),
('share/kde4/apps/autokey' , ['config/autokeyui.rc'])],
scripts=['autokey-qt', 'autokey-gtk', 'autokey-run', 'autokey-shell'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
],
#packages=["plugin"]
)