Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Nov 13, 2023
1 parent 7b7c378 commit e8ad4f9
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 70 deletions.
85 changes: 78 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,88 @@
[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 = "anthony.mahanna@arangodb.com"}]

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",
"torch>=1.12.0",
"python-arango~=7.6",
"setuptools>=45",
]

[project.optional-dependencies]
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",
]

[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 = "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
12 changes: 0 additions & 12 deletions setup.cfg

This file was deleted.

52 changes: 1 addition & 51 deletions setup.py
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="anthony.mahanna@arangodb.com",
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()

0 comments on commit e8ad4f9

Please sign in to comment.