Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 58a8e97aea
Fetching contributors…

Cannot retrieve contributors at this time

executable file 56 lines (50 sloc) 1.736 kB
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
__author__ = "Chmouel Boudjnah <chmouel@chmouel.com>"
import os
from setuptools import setup, find_packages
NAME = "python-clouddns"
GITHUB_URL = "https://github.com/chmouel/%s" % (NAME)
DESCRIPTION = "Python interface to Rackspace Cloud DNS "
VERSION = "0.0.0"
def read(fname):
full_path = os.path.join(os.path.dirname(__file__), fname)
if os.path.exists(fname):
return open(full_path).read()
else:
return ""
try:
from clouddns.consts import VERSION
except ImportError:
for line in read('clouddns/consts.py').split('\n'):
if line.startswith('VERSION'):
VERSION = \
line.split('=')[1].replace('"', '').replace("'", '').strip()
requirements = []
setup(name=NAME,
version=VERSION,
download_url="%s/zipball/%s" % (GITHUB_URL, VERSION),
description=DESCRIPTION,
install_requires=requirements,
author='Chmouel Boudjnah',
author_email='chmouel@chmouel.com',
url=GITHUB_URL,
long_description=read('README.rst'),
license='MIT',
include_package_data=True,
zip_safe=False,
packages=find_packages(exclude=['tests', 'debian']),
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Distributed Computing',
'Topic :: Utilities',
],
)
Jump to Line
Something went wrong with that request. Please try again.