Skip to content

Commit

Permalink
initial repo setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-arenas committed Jun 25, 2022
1 parent 1dfdcd6 commit 948146b
Show file tree
Hide file tree
Showing 9 changed files with 100 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[run]
omit =
./tests/*
./venv/*
./docs/*
./examples/*
*/tests/*
setup.py
[report]
precision = 2
show_missing = True
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
noqa
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,6 @@ dmypy.json

# Pyre type checker
.pyre/

#Pycharm
.idea
15 changes: 15 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: dev-requirements.txt
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# GRAPH-CAE
Graph Convolutional Autoencoders for downstream tasks
# Graph-Embeddings
Graph embeddings for downstream tasks




13 changes: 13 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
networkx>=2.8.4
stellargraph>=1.2.1
chardet>=5.0.0
pytest==7.1.2
codecov==2.1.12
pytest-cov==3.0.0
twine==4.0.1
sphinx
sphinx_gallery
sphinx_rtd_theme
sphinx-copybutton
numpydoc
nbsphinx
Empty file added graph_embeddings/__init__.py
Empty file.
1 change: 1 addition & 0 deletions graph_embeddings/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.0.0dev0"
Empty file.
47 changes: 47 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import os
import pathlib
from setuptools import setup, find_packages

# python setup.py sdist bdist_wheel
# twine upload --skip-existing dist/*

# get __version__ from _version.py
ver_file = os.path.join("graph_embeddings", "_version.py")
with open(ver_file) as f:
exec(f.read())

HERE = pathlib.Path(__file__).parent

README = (HERE / "README.md").read_text()

setup(
name="graph-embeddings",
version=__version__,
description="Graph embeddings for downstream tasks",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/rodrigo-arenas/Graph-Embeddings",
author="Rodrigo Arenas",
author_email="[email protected]",
license="MIT",
classifiers=[
'License :: OSI Approved :: MIT License',
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",

],
project_urls={
"Documentation": "https://graph-embeddings.readthedocs.io/en/stable/",
"Source Code": "https://github.com/rodrigo-arenas/Graph-Embeddings",
"Bug Tracker": "https://github.com/rodrigo-arenas/Graph-Embeddings/issues",
},
packages=find_packages(include=['graph_embeddings', 'graph_embeddings.*']),
install_requires=[
'networkx>=2.8.4',
'stellargraph>=1.2.1',
'chardet>=5.0.0',
],
python_requires=">=3.7",
include_package_data=True,
)

0 comments on commit 948146b

Please sign in to comment.