From: Christian Herdtweck Date: Tue, 22 May 2018 09:34:42 +0000 (+0200) Subject: Install into subdir pyi2ncommon in site-packages X-Git-Tag: v1.2^2~7 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=b0a3eba2929a02160f68cc970158eaf3cd0d69a8;p=pyi2ncommon Install into subdir pyi2ncommon in site-packages Before, all files src/*.py were just copied to /usr/lib/pythonX.X/site-packages --- diff --git a/setup.py b/setup.py index 59a0a54..dceb51b 100644 --- a/setup.py +++ b/setup.py @@ -10,8 +10,8 @@ setup(name='pyi2ncommon', author='Intra2net AG', author_email='info@intra2net.com', url='http://www.intra2net.com', - packages=[''], - package_dir={'': 'src'}, + packages=['pyi2ncommon'], + package_dir={'pyi2ncommon': 'src'}, # these files go into the srpm but not the rpm when building them using # setup.py bdist_rpm # however, when using build_and_install, they get installed, so leave