How to install data_files of python package into home directory
<p>Here's my setup.py</p>

<pre><code>setup(
    name='shipane_sdk',

    version='1.0.0.a5',

    # ...

    data_files=[(os.path.join(os.path.expanduser('~'), '.shipane_sdk', 'config'), ['config/scheduler-example.ini'])],

    # ...
)
</code></pre>

<p>Packing &amp; Uploading commands:</p>

<pre><code>python setup.py sdist
python setup.py bdist_wheel --universal
twine upload dist/*
</code></pre>

<p>Installing command:</p>

<pre><code>pip install shipane_sdk
</code></pre>

<p>But, it doesn't install the <strong>config/scheduler-example.ini</strong> under <strong>~/.shipane_sdk</strong></p>

<p>The pip documents says:</p>

<blockquote>
  <p>setuptools allows absolute “data_files” paths, and pip honors them as
  absolute, when installing from sdist. This is not true when installing
  from wheel distributions. Wheels don’t support absolute paths, and
  they end up being installed relative to “site-packages”. For
  discussion see wheel Issue #92.</p>
</blockquote>

<p>Do you know how to do <strong>installing from sdist</strong>?</p>