コード例 #1
0
__copyright__ = "Copyright (C) Nginx, Inc. All rights reserved."
__credits__ = [
    "Mike Belov", "Andrei Belov", "Ivan Poluyanov", "Oleg Mamontov",
    "Andrew Alexeev"
]
__license__ = ""
__maintainer__ = "Mike Belov"
__email__ = "*****@*****.**"

data_files = [('/etc/amplify-agent/', [
    'etc/agent.conf.default',
]), ('/etc/logrotate.d/', ['etc/logrotate.d/amplify-agent'])]

if is_rpm() or is_amazon():
    data_files.append(('/etc/init.d/', ['etc/chkconfig/amplify-agent']))
elif is_deb():
    data_files.append(('/etc/init.d/', ['etc/init.d/amplify-agent']), )

setup(
    name="nginx-amplify-agent",
    version="0.45",
    author="Mike Belov",
    author_email="*****@*****.**",
    description="NGINX Amplify Agent",
    keywords="amplify agent nginx",
    url="https:/amplify.nginx.com/",
    packages=find_packages(exclude=[
        "*.test", "*.test.*", "test.*", "test", "tools", "tools.*", "packages",
        "packages.*"
    ]),
    package_data={'amplify': [
コード例 #2
0
ファイル: setup.py プロジェクト: moukail/nginx-amplify-agent
__maintainer__ = "Mike Belov"
__email__ = "*****@*****.**"


data_files = [
    ('/etc/amplify-agent/', [
        'etc/agent.conf.default',
    ]),
    ('/etc/logrotate.d/', ['etc/logrotate.d/amplify-agent'])
]

if is_rpm() or is_amazon():
    data_files.append(
        ('/etc/init.d/', ['etc/chkconfig/amplify-agent'])
    )
elif is_deb():
    data_files.append(
        ('/etc/init.d/', ['etc/init.d/amplify-agent']),
    )

setup(
    name="nginx-amplify-agent",
    version="0.33",
    author="Mike Belov",
    author_email="*****@*****.**",
    description="NGINX Amplify Agent",
    keywords="amplify agent nginx",
    url="https:/amplify.nginx.com/",
    packages=find_packages(exclude=[
        "*.test", "*.test.*", "test.*", "test",
        "tools", "tools.*", "packages", "packages.*"]),