Skip to content
Snippets Groups Projects
Commit 10516d09 authored by vanrein's avatar vanrein Committed by Daniel Salzman
Browse files

python: allow calling from other directories

parent 41048099
No related branches found
No related tags found
No related merge requests found
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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment