old_contents: #!/usr/bin/python
  
  """
     Copyright 2013 The Trustees of Princeton University
  
     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.
  """
  
  from distutils.core import setup
  from distutils.extension import Extension
  
  import os
  import sys
  import shutil
  
  packages = ['sagfsdriver',
              'sagfsdriver.lib',
              'sagfsdriver.plugins']
  
  # detect plugins
  plugins = os.listdir('src/sagfsdriver/plugins')
  for plugin in plugins:
      if os.path.isdir(os.path.join('src/sagfsdriver/plugins', plugin)):
          packages.append('sagfsdriver.plugins.' + plugin)
  
  setup(name='sagfsdriver',
        version='0.1',
        description='Syndicate AG Filesystem Driver',
        url='https://github.com/syndicate-storage/syndicate-fs-driver',
        author='Illyoung Choi',
        author_email='syndicate@lists.cs.princeton.edu',
        license='Apache 2.0',
        packages = packages,
        package_dir = {
                    'sagfsdriver': 'src/sagfsdriver'
        })
  
new_contents: #!/usr/bin/python
  
  """
     Copyright 2013 The Trustees of Princeton University
  
     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.
  """
  
  from setuptools import setup
  
  import os
  import sys
  import shutil
  
  packages = ['sagfsdriver',
              'sagfsdriver.lib',
              'sagfsdriver.plugins']
  
  # detect plugins
  plugins = os.listdir('src/sagfsdriver/plugins')
  for plugin in plugins:
      if os.path.isdir(os.path.join('src/sagfsdriver/plugins', plugin)):
          packages.append('sagfsdriver.plugins.' + plugin)
  
  # dependencies
  dependencies = ['pika',
                  'python-irodsclient',
                  'retrying',
                  'timeout_decorator',
                  'pyinotify']
  
  setup(name='sagfsdriver',
        version='0.1',
        description='Syndicate AG Filesystem Driver',
        url='https://github.com/syndicate-storage/syndicate-fs-driver',
        author='Illyoung Choi',
        author_email='syndicate@lists.cs.princeton.edu',
        license='Apache 2.0',
        packages = packages,
        package_dir = {
                    'sagfsdriver': 'src/sagfsdriver'
        },
        install_requires = dependencies,
        zip_safe=False)
  
subject: Fix unknown distribution command warnings