A generic DNS black hole zone generator

setup.py 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. from setuptools import setup, find_packages
  2. from codecs import open
  3. import os
  4. # Read README.rst for long description
  5. here = os.path.abspath(os.path.dirname(__file__))
  6. # Get the long description from the relevant file
  7. with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
  8. long_description = f.read()
  9. setup(
  10. name='dns-blackhole',
  11. version='0.12',
  12. description='A generic DNS black hole zone generator',
  13. long_description=long_description,
  14. url='https://github.com/coredumb/dns-blackhole',
  15. author='Olivier Mauras',
  16. author_email='olivier@mauras.ch',
  17. license='MIT',
  18. keywords='DNS blackhole',
  19. packages=['dnsblackhole'],
  20. install_requires=['PyYAML', 'requests'],
  21. data_files=[('/etc/dns-blackhole', ['etc/dns-blackhole.yml',
  22. 'etc/whitelist',
  23. 'etc/blacklist'])],
  24. entry_points = {
  25. 'console_scripts': ['dns-blackhole=dnsblackhole.cli:main'],
  26. },
  27. classifiers=[
  28. 'Development Status :: 5 - Production/Stable',
  29. 'Intended Audience :: System Administrators',
  30. 'Topic :: Internet :: Name Service (DNS)',
  31. 'License :: OSI Approved :: MIT License',
  32. 'Programming Language :: Python :: 2',
  33. 'Programming Language :: Python :: 2.7',
  34. 'Programming Language :: Python :: 3',
  35. 'Programming Language :: Python :: 3.6',
  36. ],
  37. )