Пример #1
0
requires = setup.parse_requirements()
test_requires = setup.parse_requirements(['tools/test-requires'])
depend_links = setup.parse_dependency_links()
project = 'zuul'

setuptools.setup(
    name=project,
    version=setup.get_version(project),
    author='Hewlett-Packard Development Company, L.P.',
    author_email='*****@*****.**',
    description='Trunk gating system',
    license='Apache License, Version 2.0',
    url='http://launchpad.net/zuul',
    packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
    include_package_data=True,
    cmdclass=setup.get_cmdclass(),
    install_requires=requires,
    dependency_links=depend_links,
    zip_safe=False,
    classifiers=[
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python'
    ],
    entry_points={
        'console_scripts': [
            'zuul-server=zuul.cmd.server:main',
        ],
Пример #2
0
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

from setuptools import find_packages
from setuptools import setup

from zuul.openstack.common import setup as common_setup

setup(name='zuul',
      version='1.0',
      description="Trunk gating system",
      license='Apache License (2.0)',
      author='Hewlett-Packard Development Company, L.P.',
      author_email='*****@*****.**',
      cmdclass=common_setup.get_cmdclass(),
      url='http://launchpad.net/zuul',
      scripts=['zuul-server'],
      include_package_data=True,
      zip_safe=False,
      packages=find_packages(),
      )