mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-06-09 08:33:59 -04:00
python: allow calling from other directories
This commit is contained in:
parent
41048099b6
commit
10516d0905
1 changed files with 6 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue