Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from cloudmonkey import __version__, __description__
from cloudmonkey import __maintainer__, __maintaineremail__
from cloudmonkey import __project__, __projecturl__, __projectemail__
try:
import readline
except ImportError:
requires.append('readline')
setup(
name = 'cloudmonkey',
version = __version__,
author = __project__,
author_email = __projectemail__,
maintainer = __maintainer__,
maintainer_email = __maintaineremail__,
url = __projecturl__,
description = __description__,
long_description = "cloudmonkey is a CLI for Apache CloudStack",
platforms = ("Any",),
license = 'ASL 2.0',
packages = find_packages(),
install_requires = [
'Pygments>=1.5',
'prettytable>=0.6',
],
include_package_data = True,
zip_safe = False,
# "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.
try:
from setuptools import setup, find_packages
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from cloudmonkey import __version__
name = 'cloudmonkey'
version = __version__
requires = ['Pygments>=1.5',
'prettytable>=0.6',
]
try:
import readline
except ImportError:
requires.append('readline')
setup(
name = name,
version = version,
author = "The Apache CloudStack Team",
author_email = "dev@cloudstack.apache.org",
maintainer = "Rohit Yadav",
maintainer_email = "bhaisaab@apache.org",
except ImportError:
platform = str(sys.platform).lower()
if 'win32' in platform or 'win64' in platform:
requires.append('pyreadline')
else:
requires.append('readline')
# Upgrade notes for 5.3.0
print "If you're upgrading, run the following to enable parameter completion:"
print " cloudmonkey sync"
print " cloudmonkey set paramcompletion true"
print "Parameter completion may fail, if the above is not run!"
setup(
name = 'cloudmonkey',
version = __version__,
author = __project__,
author_email = __projectemail__,
maintainer = __maintainer__,
maintainer_email = __maintaineremail__,
url = __projecturl__,
description = __description__,
long_description = "cloudmonkey is a CLI for Apache CloudStack",
platforms = ("Any",),
license = 'ASL 2.0',
packages = find_packages(),
install_requires = requires,
include_package_data = True,
zip_safe = False,
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",