-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (67 loc) · 2.55 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
from setuptools import setup, find_packages
import os
with open(os.path.join('pypi_version.txt')) as version_file:
version_from_file = version_file.read().strip()
with open('requirements.txt') as f_required:
required = f_required.read().splitlines()
with open('test_requirements.txt') as f_tests:
required_for_tests = f_tests.read().splitlines()
setup(
name='cloudshell-recorder',
url='http://www.qualisystems.com/',
author='QualiSystems',
author_email='[email protected]',
packages=find_packages(),
entry_points={
"console_scripts": ['cloudshell_recorder = cloudshell.recorder.bootstrap:cli',
'rest_simulator = cloudshell.recorder.rest.rest_cli:rest_cli']
},
install_requires=required,
test_suite='tests',
python_requires=">=2.7, <3.0",
tests_require=required_for_tests,
version=version_from_file,
description='QualiSystems CloudShell Device Recorder Python package',
include_package_data=True
)
## !/usr/bin/env python
## -*- coding: utf-8 -*-
# try:
# from setuptools import setup, find_packages
# except ImportError:
# from distutils.core import setup, find_packages
#
#
# def get_file_content(file_name):
# with open(file_name) as f:
# return f.read()
#
# exec(open('shellfoundry/version.py').read())
#
# setup(
# name='shellfoundry',
# version=__version__,
# description="shellfoundry - Quali tool for creating, building and installing CloudShell shells",
# long_description=get_file_content('README.rst') + '\n\n' + get_file_content('HISTORY.rst'),
# author="Boris Modylevsky",
# author_email='[email protected]',
# url='https://github.com/QualiSystems/shellfoundry',
# packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
# package_data={'shellfoundry': ['data/*.yml', 'data/*.json']},
# entry_points={
# "console_scripts": ['shellfoundry = shellfoundry.bootstrap:cli']
# },
# include_package_data=True,
# install_requires=get_file_content('requirements.txt'),
# license="Apache Software License 2.0",
# zip_safe=False,
# keywords='shellfoundry sandbox cloud virtualization vcenter cmp cloudshell quali command-line cli',
# classifiers=[
# "Development Status :: 5 - Production/Stable",
# "Programming Language :: Python :: 2.7",
# "Topic :: Software Development :: Libraries",
# "License :: OSI Approved :: Apache Software License",
# ],
# test_suite='tests',
# tests_require=get_file_content('test_requirements.txt')
# )