I have a project which builds an egg using setuptools:
#!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "cfnupdateservice",
version = "1.0.0",
packages = find_packages('src'),
package_dir = { '': 'src'},
install_requires = [
'setuptools',
],
dependency_links = [
'https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz',
],
entry_points = {
'console_scripts': [
'cfn-update-service = cfnupdateservice:main'
]
}
)
My cfn-update-service
script when installed really belongs in /usr/local/sbin/
and should have permissions of 0700
as it's an administrator level command.
Is there a way for me to tell it to install to that directory with the given permissions in setuptools?