Skip to content

Commit

Permalink
Move hard psycopg2 dependency from install requirements to test requi…
Browse files Browse the repository at this point in the history
…rements

This makes it possible to have the user application
depend on psycopg2-binary.

Fixes #6
  • Loading branch information
Peter Bex committed Mar 11, 2019
1 parent 28f3db6 commit 7ee84ed
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
install_requires=[
'Django >= 1.10',
'python-dateutil >= 2.6.0',
'psycopg2 >= 2.7.0',
# Disabled (for now?) due to https://github.com/CodeYellowBV/django-relativedelta/issues/6
# We never import it directly from the code, so that is okay
#'psycopg2 >= 2.7.0',
],
tests_require=[
# The tests do need psycopg2
'psycopg2 >= 2.7.0',
],
)

0 comments on commit 7ee84ed

Please sign in to comment.