Make sure setup.py install and sdist actually work

This commit is contained in:
Tomáš Chvátal 2019-07-29 16:14:11 +02:00
parent c463c57426
commit cd14e06377
No known key found for this signature in database
GPG Key ID: E4A2468C8EEE3BE8
2 changed files with 23 additions and 4 deletions

9
MANIFEST.in Normal file
View File

@ -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*

View File

@ -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={