Diff of /setup.py [000000] .. [8790ab]

Switch to unified view

a b/setup.py
1
from setuptools import find_packages, setup
2
3
# read the contents of README file
4
from os import path
5
from io import open  # for Python 2 and 3 compatibility
6
7
# get __version__ from _version.py
8
ver_file = path.join('kgwas', 'version.py')
9
with open(ver_file) as f:
10
    exec(f.read())
11
12
this_directory = path.abspath(path.dirname(__file__))
13
14
15
# read the contents of README.md
16
def readme():
17
    with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
18
        return f.read()
19
20
21
# read the contents of requirements.txt
22
with open(path.join(this_directory, 'requirements.txt'),
23
          encoding='utf-8') as f:
24
    requirements = f.read().splitlines()
25
26
setup(name='KGWAS',
27
      version=__version__,
28
      license='MIT',
29
      description='KGWAS',
30
      long_description=readme(),
31
      long_description_content_type='text/markdown',
32
      url='https://github.com/snap-stanford/KGWAS',
33
      author='KGWAS Team',
34
      author_email='kexinh@stanford.edu',
35
      packages=find_packages(exclude=['test']),
36
      zip_safe=False,
37
      include_package_data=True,
38
      install_requires=requirements,
39
      setup_requires=['setuptools>=38.6.0']
40
      )