-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial commit * lint cleanup * workflow cleanup * disable 3.12 * fix lint * lock `torch` in workflow
- Loading branch information
Showing
8 changed files
with
109 additions
and
103 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
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,92 @@ | ||
[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 = [ | ||
"adbpyg_adapter/version.py", | ||
"setup.py", | ||
[tool.setuptools_scm] | ||
normalize = true | ||
|
||
[project] | ||
name = "adbpyg_adapter" | ||
description = "Convert ArangoDB graphs to PyG & vice-versa." | ||
keywords = ["arangodb", "pyg", "pytorch", "pytorch geometric", "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", | ||
"python-arango~=7.6", | ||
"torch>=1.12.0", | ||
"torch-sparse>=0.6.14", | ||
"torch-scatter>=2.0.9", | ||
"torch-geometric>=2.0.4", | ||
"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>=57.4.9", | ||
"types-requests>=2.27.11", | ||
"networkx>=2.5.1", | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/arangoml/pyg-adapter" | ||
|
||
[tool.setuptools] | ||
packages = ["adbpyg_adapter"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "-s -vv" | ||
minversion = "6.0" | ||
testpaths = ["tests"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "adbpyg_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,56 +1,3 @@ | ||
from setuptools import setup | ||
|
||
with open("./README.md") as fp: | ||
long_description = fp.read() | ||
|
||
setup( | ||
name="adbpyg_adapter", | ||
author="Anthony Mahanna", | ||
author_email="[email protected]", | ||
description="Convert ArangoDB graphs to PyG & vice-versa.", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/arangoml/pyg-adapter", | ||
keywords=["arangodb", "pyg", "pytorch", "pytorch geometric", "adapter"], | ||
packages=["adbpyg_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", | ||
"python-arango~=7.6", | ||
"torch>=1.12.0", | ||
"torch-sparse>=0.6.14", | ||
"torch-scatter>=2.0.9", | ||
"torch-geometric>=2.0.4", | ||
"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>=57.4.9", | ||
"types-requests>=2.27.11", | ||
"networkx>=2.5.1", | ||
], | ||
}, | ||
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