Skip to content

Commit

Permalink
python3Packages.django-cryptography: include missing source files
Browse files Browse the repository at this point in the history
  • Loading branch information
centromere committed May 10, 2023
1 parent 12ba1a5 commit ad694aa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, django
, django-appconf
, fetchFromGitHub
, fetchpatch
, lib
, python
, pythonOlder
Expand Down Expand Up @@ -32,6 +33,11 @@ buildPythonPackage rec {
django-appconf
];

patches = [
# See: https://github.com/georgemarshall/django-cryptography/pull/88
./fix-setup-cfg.patch
];

pythonImportsCheck = [ "django_cryptography" ];

checkPhase = ''
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/setup.cfg b/setup.cfg
index 865b4c3..577d917 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -35,7 +35,10 @@ project_urls =
Documentation = https://django-cryptography.readthedocs.io

[options]
-packages = django_cryptography
+packages =
+ django_cryptography
+ django_cryptography.core
+ django_cryptography.utils
python_requires = >=3.6
include_package_data = True
install_requires =

0 comments on commit ad694aa

Please sign in to comment.