Separate the actual package source from the build files. In addition
to being a bit tidier, this will prevent setup.py being erroneously
installed when we introduce PEP-517 support in a later commit.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-EXTRA_DIST = setup.py __init__.py nftables.py schema.json
+EXTRA_DIST = setup.py src
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',