-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (56 loc) · 2.11 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
#!/usr/bin/python3
#
# (c) 2016-2022 siveo, http://www.siveo.net
#
# This file is part of Pulse 2, http://www.siveo.net
#
# Pulse 2 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 2 of the License, or
# (at your option) any later version.
#
# Pulse 2 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 Pulse 2; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
from setuptools import setup
from distutils.command.install import INSTALL_SCHEMES
import os
import sys
if sys.platform.startswith("linux"):
fileconf = os.path.join("/", "etc", "pulse-xmpp-agent")
elif sys.platform.startswith("win"):
fileconf = os.path.join(os.environ["ProgramFiles"], "Pulse", "etc")
elif sys.platform.startswith("darwin"):
fileconf = os.path.join("/", "Library", "Application Support", "Pulse", "etc")
for scheme in INSTALL_SCHEMES.values():
scheme["data"] = os.path.join(scheme["purelib"], "kiosk_interface")
setup(
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
keywords="pulse xmpp kiosk interface",
name="kiosk_interface",
version='1.0.0',
debian_distro="stretch",
description="XMPP Agent for pulse",
url="https://www.siveo.net/",
packages=["kiosk_interface", "kiosk_interface.views"],
package_data={'': ['__main__.py'], 'kiosk_interface': ['datas/*']},
test_suite="",
entry_points={},
extras_require={},
install_requires=[
"PyQt6"],
)