If I recall correctly, 'pip install --target' works by installing into a
temporary directory, then copying only the library part to the target
directory. So it will throw away any docs/examples/scripts that would be
installed outside the importable package.
On Tue, Apr 10, 2018, at 10:08 PM,
That’s likely because dndexample1.py is not listed in MANIFEST.in file.
On Mon, 9 Apr 2018 at 10:10, Michael Schwager wrote:
> Hello,
> I am trying to install a module with a package and also an examples
> directory. How do I get my examples installed on users' machines into
It looks like the following setup.py will do what I want, but it won't
install the examples when I use --target:
from setuptools import setup, find_packages
from codecs import open
from os import path
with open(path.join('.', 'README.md'), encoding='utf-8') as f:
long_description = f.read()