| @ -1,6 +1,25 @@ | |||||
| 'OctoDNS: DNS as code - Tools for managing DNS across multiple providers' | |||||
| from __future__ import absolute_import, division, print_function, \ | from __future__ import absolute_import, division, print_function, \ | ||||
| unicode_literals | unicode_literals | ||||
| import pkg_resources | |||||
| from os import path | |||||
| from setuptools.config import read_configuration | |||||
| def _extract_version(package_name): | |||||
| try: | |||||
| return pkg_resources.get_distribution(package_name).version | |||||
| except pkg_resources.DistributionNotFound: | |||||
| _conf = read_configuration( | |||||
| path.join( | |||||
| path.dirname(path.dirname(__file__)), | |||||
| 'setup.cfg' | |||||
| ) | |||||
| ) | |||||
| return _conf['metadata']['version'] | |||||
| __version__ = _extract_version('octodns') | |||||
| __VERSION__ = '0.8.8' | |||||
| if __name__ == "__main__": | |||||
| print(__version__) | |||||
| @ -1,7 +0,0 @@ | |||||
| coverage | |||||
| mock | |||||
| nose | |||||
| pep8 | |||||
| pyflakes | |||||
| requests_mock | |||||
| setuptools>=36.4.0 | |||||
| @ -1,23 +0,0 @@ | |||||
| # These are known good versions. You're free to use others and things will | |||||
| # likely work, but no promises are made, especilly if you go older. | |||||
| PyYaml==3.12 | |||||
| azure-mgmt-dns==1.0.1 | |||||
| azure-common==1.1.6 | |||||
| boto3==1.4.6 | |||||
| botocore==1.6.8 | |||||
| dnspython==1.15.0 | |||||
| docutils==0.14 | |||||
| dyn==1.8.0 | |||||
| futures==3.1.1 | |||||
| google-cloud==0.27.0 | |||||
| incf.countryutils==1.0 | |||||
| ipaddress==1.0.18 | |||||
| jmespath==0.9.3 | |||||
| msrestazure==0.4.10 | |||||
| natsort==5.0.3 | |||||
| nsone==0.9.14 | |||||
| ovh==0.4.7 | |||||
| python-dateutil==2.6.1 | |||||
| requests==2.13.0 | |||||
| s3transfer==0.1.10 | |||||
| six==1.10.0 | |||||
| @ -0,0 +1,67 @@ | |||||
| [metadata] | |||||
| name = octodns | |||||
| description = "DNS as code - Tools for managing DNS across multiple providers" | |||||
| long_description = file: README.md | |||||
| version = 0.8.8 | |||||
| author = Ross McFarland | |||||
| author_email = rwmcfa1@gmail.com | |||||
| url = https://github.com/github/octodns | |||||
| license = MIT | |||||
| keywords = dns, providers | |||||
| classifiers = | |||||
| License :: OSI Approved :: MIT License | |||||
| Programming Language :: Python | |||||
| Programming Language :: Python :: 2.7 | |||||
| Programming Language :: Python :: 3 | |||||
| Programming Language :: Python :: 3.3 | |||||
| Programming Language :: Python :: 3.4 | |||||
| Programming Language :: Python :: 3.5 | |||||
| Programming Language :: Python :: 3.6 | |||||
| [options] | |||||
| install_requires = | |||||
| PyYaml==3.12 | |||||
| azure-mgmt-dns==1.0.1 | |||||
| azure-common==1.1.6 | |||||
| boto3==1.4.6 | |||||
| botocore==1.6.8 | |||||
| dnspython==1.15.0 | |||||
| docutils==0.14 | |||||
| dyn==1.8.0 | |||||
| futures==3.1.1 | |||||
| google-cloud==0.27.0 | |||||
| incf.countryutils==1.0 | |||||
| ipaddress==1.0.18 | |||||
| jmespath==0.9.3 | |||||
| msrestazure==0.4.10 | |||||
| natsort==5.0.3 | |||||
| nsone==0.9.14 | |||||
| ovh==0.4.7 | |||||
| python-dateutil==2.6.1 | |||||
| requests==2.13.0 | |||||
| s3transfer==0.1.10 | |||||
| six==1.10.0 | |||||
| packages = find: | |||||
| include_package_data = True | |||||
| [options.entry_points] | |||||
| console_scripts = | |||||
| octodns-compare = octodns.cmds.compare:main | |||||
| octodns-dump = octodns.cmds.dump:main | |||||
| octodns-report = octodns.cmds.report:main | |||||
| octodns-sync = octodns.cmds.sync:main | |||||
| octodns-validate = octodns.cmds.validate:main | |||||
| [options.packages.find] | |||||
| exclude = | |||||
| tests | |||||
| [options.extras_require] | |||||
| dev = | |||||
| coverage | |||||
| mock | |||||
| nose | |||||
| pep8 | |||||
| pyflakes | |||||
| requests_mock | |||||
| setuptools>=36.4.0 | |||||
| @ -1,47 +1,5 @@ | |||||
| #!/usr/bin/env python | #!/usr/bin/env python | ||||
| from setuptools import setup | |||||
| from os.path import dirname, join | |||||
| import octodns | |||||
| try: | |||||
| from setuptools import find_packages, setup | |||||
| except ImportError: | |||||
| from distutils.core import find_packages, setup | |||||
| cmds = ( | |||||
| 'compare', | |||||
| 'dump', | |||||
| 'report', | |||||
| 'sync', | |||||
| 'validate' | |||||
| ) | |||||
| cmds_dir = join(dirname(__file__), 'octodns', 'cmds') | |||||
| console_scripts = { | |||||
| 'octodns-{name} = octodns.cmds.{name}:main'.format(name=name) | |||||
| for name in cmds | |||||
| } | |||||
| setup( | |||||
| author='Ross McFarland', | |||||
| author_email='rwmcfa1@gmail.com', | |||||
| description=octodns.__doc__, | |||||
| entry_points={ | |||||
| 'console_scripts': console_scripts, | |||||
| }, | |||||
| install_requires=[ | |||||
| 'PyYaml>=3.12', | |||||
| 'dnspython>=1.15.0', | |||||
| 'futures>=3.0.5', | |||||
| 'incf.countryutils>=1.0', | |||||
| 'ipaddress>=1.0.18', | |||||
| 'natsort>=5.0.3', | |||||
| 'python-dateutil>=2.6.0', | |||||
| 'requests>=2.13.0' | |||||
| ], | |||||
| license='MIT', | |||||
| long_description=open('README.md').read(), | |||||
| name='octodns', | |||||
| packages=find_packages(), | |||||
| url='https://github.com/github/octodns', | |||||
| version=octodns.__VERSION__, | |||||
| ) | |||||
| setup() | |||||