timmy/setup.py
Dmitry Sutyagin e493b44a4d Fix: wheel support
Change-Id: I6f5912d1fb0cdb583907ded078167cd877097c37
2016-09-21 17:01:10 +03:00

48 lines
1.6 KiB
Python

#!/usr/bin/env python2
# -*- coding: utf-8 -*-
# Copyright 2015 Mirantis, Inc.
#
# 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 setup
import os
from timmy.env import project_name, version
pname = project_name
include_package_data = True
if os.environ.get("READTHEDOCS", False):
rqfiles = None
include_package_data = False
setup(name=pname,
version=version,
author="Aleksandr Dobdin",
author_email='dobdin@gmail.com',
license='Apache2',
url='https://github.com/adobdin/timmy',
description=('Mirantis OpenStack Ansible-like tool for parallel node '
'operations: two-way data transfer, log collection, '
'remote command execution'),
long_description=open('README.md').read(),
packages=[pname, '%s_data' % pname],
install_requires=['pyyaml'],
include_package_data=include_package_data,
entry_points={'console_scripts': ['%s=%s.cli:main' % (pname, pname)]},
setup_requires=['pytest-runner'],
tests_require=['pytest']
)