Ship default configuration files
Specify data files to ship explicitly and set include_package_data to False so it doesn't pick up random cruft that happens to be in the work tree. Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
7e5e5cf5aa
commit
c2e99dbdfa
1 changed files with 7 additions and 1 deletions
8
setup.py
8
setup.py
|
@ -34,7 +34,13 @@ setup(
|
|||
url='https://pagure.io/Fedora-Infra/distgit-bugzilla-sync',
|
||||
keywords='fedora',
|
||||
packages=['distgit_bugzilla_sync'],
|
||||
include_package_data=True,
|
||||
include_package_data=False,
|
||||
package_data={
|
||||
'distgit_bugzilla_sync': [
|
||||
'default-config-files/configuration.toml',
|
||||
'default-config-files/email_overrides.toml',
|
||||
],
|
||||
},
|
||||
zip_safe=False,
|
||||
install_requires=INSTALL_REQUIRES,
|
||||
tests_require=TESTS_REQUIRE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue