-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial commit * add 3.12 to build workflow * fix typos * fix lint & dependencies * Update pyproject.toml * disable python 3.12 * fix lint
- Loading branch information
Showing
7 changed files
with
96 additions
and
90 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
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,17 +1,89 @@ | ||
[build-system] | ||
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"] | ||
requires = ["setuptools>=45", "wheel", "setuptools_scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.coverage.run] | ||
omit = [ | ||
"adbdgl_adapter/version.py", | ||
"setup.py", | ||
[tool.setuptools_scm] | ||
normalize = true | ||
|
||
[project] | ||
name = "adbdgl_adapter" | ||
description = "Convert ArangoDB graphs to DGL & vice-versa." | ||
keywords=["arangodb", "dgl", "deep graph library", "adapter"] | ||
readme = "README.md" | ||
dynamic = ["version"] | ||
license = {file = "LICENSE"} | ||
requires-python = ">=3.8" | ||
|
||
authors = [{name = "Anthony Mahanna", email = "[email protected]"}] | ||
|
||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
# "Programming Language :: Python :: 3.12", | ||
"Topic :: Utilities", | ||
"Typing :: Typed", | ||
] | ||
|
||
dependencies = [ | ||
"requests>=2.27.1", | ||
"rich>=12.5.1", | ||
"pandas>=1.3.5", | ||
"dgl>=1.0.0", | ||
"torch>=1.12.0", | ||
"python-arango~=7.6", | ||
"setuptools>=45", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"black==23.3.0", | ||
"flake8==6.0.0", | ||
"Flake8-pyproject", | ||
"isort==5.12.0", | ||
"mypy==1.4.1", | ||
"pytest>=6.0.0", | ||
"pytest-cov>=2.0.0", | ||
"coveralls>=3.3.1", | ||
"types-setuptools", | ||
"types-requests", | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/arangoml/dgl-adapter" | ||
|
||
[tool.setuptools] | ||
packages = ["adbdgl_adapter"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "-s -vv" | ||
minversion = "6.0" | ||
testpaths = ["tests"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "adbdgl_adapter/version.py" | ||
[tool.coverage.report] | ||
omit = ["*tests*"] | ||
|
||
[tool.coverage.run] | ||
omit = ["*tests*"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.flake8] | ||
max-line-length = 88 | ||
extend-ignore = ["E203", "W503", "E251"] | ||
exclude = [".git", ".idea", ".*_cache", "dist", "venv"] | ||
|
||
[tool.mypy] | ||
strict = true | ||
ignore_missing_imports = true | ||
implicit_reexport = true | ||
scripts_are_modules = true | ||
follow_imports = "skip" | ||
disallow_subclassing_any = false | ||
disallow_untyped_decorators = false |
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,53 +1,3 @@ | ||
from setuptools import setup | ||
|
||
with open("./README.md") as fp: | ||
long_description = fp.read() | ||
|
||
setup( | ||
name="adbdgl_adapter", | ||
author="Anthony Mahanna", | ||
author_email="[email protected]", | ||
description="Convert ArangoDB graphs to DGL & vice-versa.", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/arangoml/dgl-adapter", | ||
keywords=["arangodb", "dgl", "deep graph library", "adapter"], | ||
packages=["adbdgl_adapter"], | ||
include_package_data=True, | ||
python_requires=">=3.8", | ||
license="Apache Software License", | ||
install_requires=[ | ||
"requests>=2.27.1", | ||
"rich>=12.5.1", | ||
"pandas>=1.3.5", | ||
"dgl~=1.0", | ||
"torch>=1.12.0", | ||
"python-arango~=7.6", | ||
"setuptools>=45", | ||
], | ||
extras_require={ | ||
"dev": [ | ||
"black==23.3.0", | ||
"flake8==6.0.0", | ||
"isort==5.12.0", | ||
"mypy==1.4.1", | ||
"pytest>=6.0.0", | ||
"pytest-cov>=2.0.0", | ||
"coveralls>=3.3.1", | ||
"types-setuptools", | ||
"types-requests", | ||
], | ||
}, | ||
classifiers=[ | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Utilities", | ||
"Typing :: Typed", | ||
], | ||
) | ||
setup() |
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