mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-31 11:16:57 -06:00
679343594d
Install the turbogears web gui including an init script. This patch includes a few related changes: * create a production configuration * rename the web gui startup scrip to ipa-webgui * add an init script * chkconfig on the ipa-webgui init script * make the start script properly daemonize the app when not in a development directory. * Install everything to the correct places (/usr/sbin/ipa-webgui and /usr/share/ipa/ipagui mainly). There are some things still left to do: * Sort out the logging - the config needs to be adjusted so that logging messages end up in /var/log.
49 lines
1.5 KiB
Python
49 lines
1.5 KiB
Python
from setuptools import setup, find_packages
|
|
from turbogears.finddata import find_package_data
|
|
|
|
import os
|
|
execfile(os.path.join("ipagui", "release.py"))
|
|
|
|
setup(
|
|
name="ipa-gui",
|
|
version=version,
|
|
|
|
# uncomment the following lines if you fill them out in release.py
|
|
#description=description,
|
|
#author=author,
|
|
#author_email=email,
|
|
#url=url,
|
|
#download_url=download_url,
|
|
#license=license,
|
|
|
|
install_requires = [
|
|
"TurboGears >= 1.0.2.2",
|
|
],
|
|
zip_safe=False,
|
|
packages=find_packages(),
|
|
package_data = find_package_data(where='ipagui',
|
|
package='ipagui'),
|
|
classifiers = [
|
|
'Development Status :: 3 - Alpha',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
'Framework :: TurboGears',
|
|
# if this is an application that you'll distribute through
|
|
# the Cheeseshop, uncomment the next line
|
|
# 'Framework :: TurboGears :: Applications',
|
|
|
|
# if this is a package that includes widgets that you'll distribute
|
|
# through the Cheeseshop, uncomment the next line
|
|
# 'Framework :: TurboGears :: Widgets',
|
|
],
|
|
test_suite = 'nose.collector',
|
|
entry_points = """
|
|
[turbogears.identity.provider]
|
|
proxyprovider = ipagui.proxyprovider:ProxyIdentityProvider
|
|
[turbogears.visit.manager]
|
|
proxyvisit = ipagui.proxyvisit:ProxyVisitManager
|
|
""",
|
|
)
|
|
|