-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include data files only in source distribution
Make Poetry include data files only in the source distribution, and not on our wheels. This mainly makes RPM packaging a bit easier, but does not solve the problem of how to install files to `/usr/share/dangerzone`. Also, include files using globs, which is the way Poetry prefers. Fixes #678 Refs #677
- Loading branch information
Showing
2 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,12 @@ version = "0.5.1" | |
description = "Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs" | ||
authors = ["Freedom of the Press Foundation <[email protected]>", "Micah Lee <[email protected]>"] | ||
license = "AGPL-3.0" | ||
# NOTE: See also https://github.com/freedomofpress/dangerzone/issues/677 | ||
include = [ | ||
"share/", | ||
"qubes/", | ||
"install/linux/press.freedom.dangerzone.*", | ||
"README.md" | ||
{ path = "share/*", format = "sdist" }, | ||
{ path = "qubes/*", format = "sdist" }, | ||
{ path = "install/linux/press.freedom.dangerzone.*", format = "sdist" }, | ||
{ path = "README.md", format = "sdist" }, | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
|