-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loosen installation requirements (#22)
* Delete requirements.txt * Remove version requirements for numpy and pandas * add sql and dynamodb extra_requires * Update version marker in setup.py * Update version tag in main python code * Update python-package.yml * Update python-package.yml * Make dynamo imports optional * remove spurious boto import * remov required sqlalchemy tests * fix test params imports * remove hard-coded sql backend * Update changelog for split dependencies
- Loading branch information
Showing
8 changed files
with
69 additions
and
36 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
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
_DEFAULT_BACKEND = NetworkXBackend | ||
|
||
__version__ = "0.2.0" | ||
__version__ = "0.2.1" | ||
|
||
|
||
class Graph: | ||
|
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 |
---|---|---|
@@ -1,6 +1,17 @@ | ||
from .backend import Backend | ||
from .dynamodb import DynamoDBBackend | ||
|
||
try: | ||
from .dynamodb import DynamoDBBackend | ||
except ImportError: | ||
pass | ||
from .networkx import NetworkXBackend | ||
from .sqlbackend import SQLBackend | ||
|
||
# from .networkit import NetworkitBackend | ||
try: | ||
from .sqlbackend import SQLBackend | ||
except ImportError: | ||
pass | ||
|
||
try: | ||
from .networkit import NetworkitBackend | ||
except ImportError: | ||
pass |
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
This file was deleted.
Oops, something went wrong.
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,11 +3,10 @@ | |
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
["sqlalchemy"] | ||
|
||
setuptools.setup( | ||
name="grand-graph", | ||
version="0.2.0", | ||
version="0.2.1", | ||
author="Jordan Matelsky", | ||
author_email="[email protected]", | ||
description="Graph database wrapper for non-graph datastores", | ||
|
@@ -16,12 +15,14 @@ | |
url="https://github.com/aplbrain/grand", | ||
packages=setuptools.find_packages(), | ||
install_requires=[ | ||
"boto3", | ||
"networkx==2.4", | ||
"numpy==1.19.1", | ||
"pandas==1.1.0", | ||
"SQLAlchemy==1.3.18", | ||
"networkx>=2.4", | ||
"numpy", | ||
"pandas", | ||
], | ||
extra_requires={ | ||
"sql": ["SQLAlchemy>=1.3"], | ||
"dynamodb": ["boto3"], | ||
}, | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
|