forked from doableware/djongo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request doableware#374 from jay20162016/fix_dependencies
Remove bson, and dataclasses
Showing
3 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
import os | ||
import codecs | ||
import re | ||
import sys | ||
|
||
LONG_DESCRIPTION = """ | ||
|
@@ -78,6 +79,15 @@ def find_version(*file_paths): | |
return version_match.group(1) | ||
raise RuntimeError("Unable to find version string.") | ||
|
||
install_requires=[ | ||
'sqlparse==0.2.4', | ||
'pymongo>=3.2.0', | ||
'django>=2.0,<3', | ||
'six>=1.13.0', | ||
] | ||
|
||
if sys.version_info.major < 3 or sys.version_info.minor < 7: | ||
install_requires.append("dataclasses") | ||
|
||
setup( | ||
name='djongo', | ||
|
@@ -90,14 +100,7 @@ def find_version(*file_paths): | |
author_email='[email protected]', | ||
description=( | ||
'Driver for allowing Django to use MongoDB as the database backend.'), | ||
install_requires=[ | ||
'bson==0.5.8', | ||
'sqlparse==0.2.4', | ||
'pymongo>=3.2.0', | ||
'django>=2.0,<3', | ||
'dataclasses>=0.1', | ||
'six>=1.13.0', | ||
], | ||
install_requires=install_requires, | ||
extras_require=dict( | ||
json=[ | ||
'jsonfield>=2.0.2', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters