diff --git a/__main__.py b/__main__.py deleted file mode 100644 index 087b4080fc..0000000000 --- a/__main__.py +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2018 Microsoft Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Requires Python 2.6+ and Openssl 1.0+ -# - -import azurelinuxagent.agent as agent - -agent.main() diff --git a/setup.py b/setup.py index e15a2d4600..67676366c1 100755 --- a/setup.py +++ b/setup.py @@ -232,7 +232,6 @@ def run(self): url='https://github.com/Azure/WALinuxAgent', license='Apache License Version 2.0', packages=find_packages(exclude=["tests*"]), - py_modules=["__main__"], install_requires=requires, cmdclass={ 'install': install