Skip to content

Commit

Permalink
Explicitly set packages in setup.py
Browse files Browse the repository at this point in the history
This is generally a good practice instead of relying on autodiscovery,
plus it's what the other securedrop- packages do. Also it fixes a weird
bug with reprotest, in which it can't determine the correct package.

Fixes freedomofpress/securedrop-builder#298.
  • Loading branch information
legoktm committed Apr 20, 2022
1 parent b29e222 commit 3e68158
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
license="GPLv3+",
install_requires=[],
python_requires=">=3.5",
packages=setuptools.find_packages(exclude=["docs", "tests"]),
package_data={
'securedrop_log': ['VERSION'],
},
url="https://github.com/freedomofpress/securedrop-log",
classifiers=[
"Development Status :: 3 - Alpha",
Expand Down

0 comments on commit 3e68158

Please sign in to comment.