Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #42 from d120/fix-env
Browse files Browse the repository at this point in the history
unset environment variable DJANGO_SETTINGS_MODULE before compilemessages
  • Loading branch information
Xiphoseer authored May 3, 2017
2 parents 94dccc6 + 3744320 commit 6af311c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def finalize_options(self):
pass

def run(self):
import os
from django.core import management

os.environ['DJANGO_SETTINGS_MODULE'] = ''
curdir = os.getcwd()
os.chdir(os.path.realpath('build/lib/pyBuchaktion'))
management.call_command('compilemessages')
Expand All @@ -42,7 +42,7 @@ def run(self):

setup(
name='pyBuchaktion',
version='0.2',
version='0.3',
packages=find_packages(),
include_package_data=True,
license='AGPL-3.0',
Expand Down

0 comments on commit 6af311c

Please sign in to comment.