Skip to content

Commit 6e3e7e9

Browse files
committed
Fix problem with setup.py
1 parent dac6d6d commit 6e3e7e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
from setuptools import setup, find_packages
55
import validatedfile
66

7+
import os # To avoid an error importing validatedfile for versiontools
8+
os.environ['DJANGO_SETTINGS_MODULE'] = 'testing.settings'
9+
710
setup(
811
name = 'django-validated-file',
912
version = ":versiontools:validatedfile:",

0 commit comments

Comments
 (0)