<filename>graph_nets/setup.py
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""

from codecs import open
from setuptools import setup


def get_version():
    with open('version.txt') as ver_file:
        version_str = ver_file.readline().rstrip()
    return version_str


def get_install_requires():
    with open('requirements.txt') as reqs_file:
        reqs = [line.rstrip() for line in reqs_file.readlines()]
    return reqs


setup(name="graph_nets",
      version=get_version(),
      packages=['graph_nets', 'graph_nets.data_structures', 'graph_nets.functions'],
      description="Pagerank prediction project graph nets library",
      install_requires=get_install_requires(),
      author="<NAME>, <NAME>",
      zip_safe=False)

<filename>graph_nets/setup.py
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""

from codecs import open
from setuptools import setup


def get_version():
    with open('version.txt') as ver_file:
        version_str = ver_file.readline().rstrip()
    return version_str


def get_install_requires():
    with open('requirements.txt') as reqs_file:
        reqs = [line.rstrip() for line in reqs_file.readlines()]
    return reqs


setup(name="graph_nets",
      version=get_version(),
      packages=['graph_nets', 'graph_nets.data_structures', 'graph_nets.functions'],
      description="Pagerank prediction project graph nets library",
      install_requires=get_install_requires(),
      author="<NAME>, <NAME>",
      zip_safe=False)

A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject