summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/setup.py.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/setup.py.in b/python/setup.py.in
index a0c7156ae..a5e69c8a3 100644
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -1,5 +1,8 @@
import setuptools
+from os import path
+here = path.dirname (path.realpath (__file__))
+
setuptools.setup(
name='libknot',
version='@PACKAGE_VERSION@',
@@ -9,6 +12,9 @@ setuptools.setup(
url='https://gitlab.nic.cz/knot/knot-dns',
license='GPL-3.0',
packages=['libknot'],
+ package_dir = {
+ 'libknot': path.join (here, 'libknot'),
+ },
classifiers=[ # See https://pypi.org/classifiers
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',