aboutsummaryrefslogtreecommitdiff
path: root/setup.py
blob: 9396f59b7e3e1870d3dab96903288a017e3fc892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python
"""Basic setup script for gn3"""
from setuptools import setup  # type: ignore
from setup_commands import RunTests

def long_description():
    """Retrieve long description from the README file."""
    with open('README.md', encoding="utf-8") as readme:
        return readme.read()

setup(author='Bonface M. K.',
      author_email='me@bonfacemunyoki.com',
      description=('GeneNetwork3 REST API for data '
                   'science and machine learning'),
      install_requires=[
          "bcrypt>=3.1.7"
          "Flask==1.1.2"
          "ipfshttpclient==0.7.0"
          "mypy==0.790"
          "mypy-extensions==0.4.3"
          "mysqlclient==2.0.1"
          "numpy==1.20.1"
          "pylint==2.5.3"
          "redis==3.5.3"
          "requests==2.25.1"
          "scipy==1.6.0"
          "plotly==4.14.3"
          "flask-cors==3.0.9"
      ],
      license='GPLV3',
      long_description=long_description(),
      long_description_content_type='text/markdown',
      name='gn3',
      packages=[
          'gn3',
          'gn3.api',
          'gn3.computations',
          'gn3.db',
          'tests'
      ],
      url='https://github.com/genenetwork/genenetwork3',
      version='0.1',
      tests_require=["pytest", "hypothesis"],
      cmdclass={
          "run_tests": RunTests ## testing
      })