mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Removed files redundant with same/similar files in Salt-core
This commit is contained in:
parent
2e0286a88b
commit
abe77c8cf0
5 changed files with 0 additions and 147 deletions
36
.gitignore
vendored
36
.gitignore
vendored
|
@ -1,36 +0,0 @@
|
|||
build
|
||||
*.py[co]
|
||||
pkg/arch/*.tar.xz
|
||||
*.swp
|
||||
doc/_build
|
||||
dist
|
||||
MANIFEST
|
||||
*.wpr
|
||||
*.wpu
|
||||
|
||||
|
||||
# virtualenv
|
||||
# - ignores directories of a virtualenv when you create it right on
|
||||
# top of salt such as
|
||||
# - /some/path$ git clone https://github.com/thatch45/salt.git
|
||||
# - /some/path$ virtualenv --python=/usr/bin/python2.6 salt
|
||||
bin/
|
||||
include/
|
||||
lib/
|
||||
pip/
|
||||
share/
|
||||
tests/integration/tmp/
|
||||
|
||||
# tox - ignore any tox-created virtualenv dirs
|
||||
.tox
|
||||
|
||||
# setuptools stuff
|
||||
*.egg-info
|
||||
|
||||
# code coverage outputs genereated by coverage.py
|
||||
.coverage
|
||||
coverage.xml
|
||||
htmlcov/
|
||||
/.project
|
||||
/.pydevproject
|
||||
/.idea
|
16
LICENSE
16
LICENSE
|
@ -1,16 +0,0 @@
|
|||
Salt API - Generic bridging for access to Salt
|
||||
|
||||
Copyright 2012 Salt Stack 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.
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
recursive-include doc *
|
||||
recursive-include scripts *
|
||||
include AUTHORS
|
||||
include LICENSE
|
||||
include README.rst
|
||||
include requirements.txt
|
18
README.rst
18
README.rst
|
@ -1,18 +0,0 @@
|
|||
========
|
||||
salt-api
|
||||
========
|
||||
|
||||
The Salt API system is used to expose the fundamental aspects of Salt control
|
||||
to external sources. salt-api acts as the bridge between Salt itself and
|
||||
REST, Websockets, etc.
|
||||
|
||||
Documentation is available on Read the Docs:
|
||||
|
||||
http://salt-api.readthedocs.org/
|
||||
|
||||
Run the test suite
|
||||
------------------
|
||||
|
||||
::
|
||||
|
||||
python -m unittest discover -v
|
71
setup.py
71
setup.py
|
@ -1,71 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
'''
|
||||
The setup script for saltapi
|
||||
'''
|
||||
|
||||
import os
|
||||
# Use setuptools only if the user opts-in by setting the USE_SETUPTOOLS env var
|
||||
# This ensures consistent behavior but allows for advanced usage with
|
||||
# virtualenv, buildout, and others.
|
||||
USE_SETUPTOOLS = False
|
||||
if 'USE_SETUPTOOLS' in os.environ:
|
||||
try:
|
||||
from setuptools import setup
|
||||
USE_SETUPTOOLS = True
|
||||
except:
|
||||
USE_SETUPTOOLS = False
|
||||
|
||||
|
||||
if USE_SETUPTOOLS is False:
|
||||
from distutils.core import setup
|
||||
|
||||
|
||||
# pylint: disable-msg=W0122,E0602
|
||||
exec(compile(open('saltapi/version.py').read(), 'saltapi/version.py', 'exec'))
|
||||
VERSION = __version__
|
||||
# pylint: enable-msg=W0122,E0602
|
||||
|
||||
NAME = 'salt-api'
|
||||
DESC = ("Generic interface for providing external access APIs to Salt")
|
||||
|
||||
kwargs = dict()
|
||||
|
||||
kwargs.update(
|
||||
name=NAME,
|
||||
version=VERSION,
|
||||
description=DESC,
|
||||
author='Thomas S Hatch',
|
||||
author_email='thatch@saltstack.com',
|
||||
url='http://saltstack.org',
|
||||
classifiers=[
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Development Status :: 2 - Pre-Alpha',
|
||||
'Environment :: Console',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Information Technology',
|
||||
'Intended Audience :: System Administrators',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
'Operating System :: POSIX :: Linux',
|
||||
'Topic :: System :: Distributed Computing'],
|
||||
packages=['saltapi',
|
||||
'saltapi.netapi',
|
||||
'saltapi.netapi.rest_cherrypy',
|
||||
],
|
||||
package_data={
|
||||
'saltapi.netapi.rest_cherrypy': ['tmpl/*']},
|
||||
data_files=[('share/man/man1',
|
||||
['doc/man/salt-api.1']),
|
||||
('share/man/man7',
|
||||
['doc/man/salt-api.7'])],
|
||||
scripts=['scripts/salt-api'],
|
||||
)
|
||||
|
||||
if USE_SETUPTOOLS:
|
||||
kwargs.update(
|
||||
install_requires=open('requirements.txt').readlines(),
|
||||
test_suite='tests',
|
||||
)
|
||||
|
||||
setup(**kwargs)
|
Loading…
Add table
Reference in a new issue