Rename mock device type to standalone device type
[tools/litmus.git] / setup.py
1 #!/usr/bin/env python3
2 # Copyright 2015-2016 Samsung Electronics Co., Ltd.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 import re
17 import os
18 from setuptools import setup, find_packages
19
20 PROJECT_NAME = 'litmus'
21
22 version = re.search("__version__.*'(.+)'",
23                     open(os.path.join(PROJECT_NAME, '__init__.py'))
24                     .read()).group(1)
25
26 setup(name=PROJECT_NAME,
27       description='Lightweight test manager',
28       long_description='Lightweight test manager for tizen automated testing',
29       version=version,
30       author="Donghoon Shin",
31       author_email="dhs.shin@samsung.com",
32       url="http://www.tizen.org",
33       package_dir={PROJECT_NAME: 'litmus'},
34       packages=find_packages(exclude=['litmus.templates']),
35       include_package_data=True,
36       license="Apache",
37       platforms='any',
38       scripts=['tools/litmus'],
39       )