diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..1c6fb2fe --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,9 @@ +include Makefile +include COPYING +include README.md +recursive-include test/binary * +recursive-include test/configs * +recursive-include test/pyc * +recursive-include test/source * +recursive-include test/spec * +include test/Dockerfile* diff --git a/setup.py b/setup.py index 35d453ba..462a5bb3 100755 --- a/setup.py +++ b/setup.py @@ -38,13 +38,23 @@ setup( platforms=['Linux'], keywords=['RPM', '.spec', 'validator'], - install_requires=['pyxdg', 'toml'], + install_requires=[ + 'pyxdg', + 'toml', + ], setup_requires=['pytest-runner'], - tests_require=['pytest', 'pytest-cov', 'pytest-flake8'], + tests_require=[ + 'pytest', + 'pytest-cov', + 'pytest-flake8' + ], - packages=['rpmlint'], + packages=[ + 'rpmlint', + 'rpmlint.checks', + ], package_data={ - 'rpmlint': ['rpmlint/configdefaults.toml'], + 'rpmlint': ['configdefaults.toml'], }, include_package_data=True, entry_points={