forked from hjacobs/local-cname
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·37 lines (32 loc) · 1.1 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
def readme():
try:
return open('README.rst', encoding='utf-8').read()
except TypeError:
return open('README.rst').read()
setup(
name='local-cname',
packages=find_packages(),
version='0.4',
description='Helper script to emulate a local CNAME DNS by writing to /etc/hosts',
long_description=readme(),
author='[email protected]',
url='https://github.com/oscaner/local-cname',
keywords='dns hosts local',
license='GNU General Public License v3 (GPLv3)',
setup_requires=['flake8'],
install_requires=['clickclick', 'filelock'],
tests_require=[],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Operating System :: POSIX',
],
entry_points={'console_scripts': ['local-cname = local_cname.cli:main']}
)