title: How can a `console_scripts` access file from `package_data`
body: <p>When create a <code>console_scripts</code> as an <code>entry_points</code>, how do you access a data file (<code>package_data</code>) within the package?</p>
  
  <pre><code>setup(
      # other stuff
      entry_points={
          'console_scripts': [
              'runme = mypackage.a_py_file:a_function_within_the_py_file',
          ]
      }
  )
  </code></pre>
  
  <p>Directory structure:</p>
  
  <pre><code>├── mypackage
  │   ├── __init__.py
  │   └── a_py_file.py
  ├── requirements.txt
  ├── setup.py
  └── data 
      ├── a.data
      └── b.data
  </code></pre>
  
  <p>Python file to handle <code>console_scripts</code>:</p>
  
  <pre><code># a_py_file.py
  def a_function_within_the_py_file:
      # HOW TO READ a.data FILE HERE
  </code></pre>