diff options
-rw-r--r-- | py/Makefile.am | 2 | ||||
-rwxr-xr-x | py/setup.py | 2 | ||||
-rw-r--r-- | py/src/__init__.py (renamed from py/__init__.py) | 0 | ||||
-rw-r--r-- | py/src/nftables.py (renamed from py/nftables.py) | 0 | ||||
-rw-r--r-- | py/src/schema.json (renamed from py/schema.json) | 0 |
5 files changed, 2 insertions, 2 deletions
diff --git a/py/Makefile.am b/py/Makefile.am index f10ae360..4056aa61 100644 --- a/py/Makefile.am +++ b/py/Makefile.am @@ -1 +1 @@ -EXTRA_DIST = setup.py __init__.py nftables.py schema.json +EXTRA_DIST = setup.py src diff --git a/py/setup.py b/py/setup.py index 8ad73e7b..d08b8b12 100755 --- a/py/setup.py +++ b/py/setup.py @@ -10,7 +10,7 @@ setup(name='nftables', url='https://netfilter.org/projects/nftables/index.html', packages=['nftables'], provides=['nftables'], - package_dir={'nftables':'.'}, + package_dir={'nftables':'src'}, package_data={'nftables':['schema.json']}, classifiers=[ 'Development Status :: 4 - Beta', diff --git a/py/__init__.py b/py/src/__init__.py index 7567f095..7567f095 100644 --- a/py/__init__.py +++ b/py/src/__init__.py diff --git a/py/nftables.py b/py/src/nftables.py index 68fcd7dd..68fcd7dd 100644 --- a/py/nftables.py +++ b/py/src/nftables.py diff --git a/py/schema.json b/py/src/schema.json index 460e2156..460e2156 100644 --- a/py/schema.json +++ b/py/src/schema.json |