title: How can I install a python package onto Google Dataflow and import it into my pipeline?
body: <p>My folder structure is as follows:</p>
  
  <pre><code>Project/
   --Pipeline.py
   --setup.py
   --dist/
    --ResumeParserDependencies-0.1.tar.gz
   --Dependencies/
          --Module1.py
          --Module2.py
          --Module3.py
  </code></pre>
  
  <p>My <code>setup.py</code> file looks like this:<br></p>
  
  <pre><code>from setuptools import setup, find_packages
  
  setup(name='ResumeParserDependencies',
    version='0.1',
    description='Dependencies',
    install_requires=[
     'google-cloud-storage==1.11.0',
     'requests==2.19.1',
     'urllib3==1.23'
      ],
    packages = ['Dependencies']
   )
  </code></pre>
  
  <p>I used the setup.py file to create a tar.gz file using 'python setup.py sdist'. The tar file is in the dist folder as ResumeParserDependencies-0.1.tar.gz.  I then specified<br></p>
  
  <pre><code>setup_options.extra_packages = ['./dist/ResumeParserDependencies-0.1.tar.gz'] in my pipeline options.
  </code></pre>
  
  <p>However, once I run my pipeline on Dataflow, I get the error 'No module named ResumeParserDependencies'.  If I use 'pip install ResumeParserDependencies-0.1.tar.gz' locally, the package installs, and I can see it using 'pip freeze'.<br></p>
  
  <p><br>What am I missing to load the package into Dataflow?</p>