Skip to content

Commit

Permalink
Hardcode version into setup.py
Browse files Browse the repository at this point in the history
Travis cannot build because importing the version tries to import Django.

This allows us to remove Django from install_requires again, to avoid
problems when upgrading this package.
  • Loading branch information
radiac committed Oct 23, 2018
1 parent b0e2f6e commit 7a24096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -3,7 +3,8 @@
import sys
from setuptools import setup, find_packages

from gdpr_assist import __version__ as VERSION

VERSION = '1.0.1'


def read(fname):
Expand Down Expand Up @@ -134,7 +135,6 @@ def runtests(args):
'Framework :: Django :: 2.1',
],
install_requires=[
'Django>=1.8',
'django-yaa-settings',
],
extras_require={
Expand Down

0 comments on commit 7a24096

Please sign in to comment.