Skip to content

Commit

Permalink
Remove bin script. Remove pkg_resource usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilja Bobkevic committed Nov 24, 2015
1 parent d4c9079 commit 3d57b78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
3 changes: 0 additions & 3 deletions bin/unbound_ec2

This file was deleted.

8 changes: 1 addition & 7 deletions data/unbound_ec2_script
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@ import sys
if sys.version_info[:2] == (2, 6):
from distutils import sysconfig
sys.path.append(sysconfig.get_python_lib())

from unbound_ec2.script import *
else:
import sysconfig
sys.path.append(sysconfig.get_path('purelib'))

import pkg_resources

__requires__ = 'unbound-ec2'

pkg_resources.run_script('unbound-ec2', 'unbound_ec2')
from unbound_ec2.script import *
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
'data/unbound_ec2.conf.example',
'data/default_unbound.example'
])],
scripts=['bin/unbound_ec2'],
license="Apache License 2.0",
platforms = "Posix; MacOS X",
scripts=[],
license='Apache License 2.0',
platforms = 'Posix; MacOS X',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
Expand Down

0 comments on commit 3d57b78

Please sign in to comment.