"tests/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "a4df8dbc40e170ff828f8d8f79c2c861c9f1748d"
setup.py 1.43 KB
Newer Older
1
2
#!/usr/bin/env python
# -*- coding: utf-8 -*-
3
import os
4
5

from setuptools import find_packages
6
from setuptools import setup
7

8
9
10
11
12
13
14
15
16
17
18
19
20
21
CURRENT_DIR = os.path.dirname(__file__)

def get_lib_path():
    """Get library path, name and version"""
     # We can not import `libinfo.py` in setup.py directly since __init__.py
    # Will be invoked which introduces dependences
    libinfo_py = os.path.join(CURRENT_DIR, './dgllife/libinfo.py')
    libinfo = {'__file__': libinfo_py}
    exec(compile(open(libinfo_py, "rb").read(), libinfo_py, 'exec'), libinfo, libinfo)
    version = libinfo['__version__']

    return version

VERSION = get_lib_path()
22
23
24

setup(
    name='dgllife',
25
    version=VERSION,
Mufei Li's avatar
Mufei Li committed
26
    description='DGL-based package for Life Science',
27
28
29
30
    keywords=[
        'pytorch',
        'dgl',
        'graph-neural-networks',
Mufei Li's avatar
Mufei Li committed
31
        'life-science',
32
33
34
35
36
37
        'drug-discovery'
    ],
    maintainer='DGL Team',
    packages=[package for package in find_packages()
              if package.startswith('dgllife')],
    install_requires=[
Mufei Li's avatar
Mufei Li committed
38
        'scikit-learn>=0.22.2',
39
        'pandas',
40
        'requests>=2.22.0',
41
42
43
44
        'tqdm',
        'numpy>=1.14.0',
        'scipy>=1.1.0',
        'networkx>=2.1',
45
    ],
Mufei Li's avatar
Mufei Li committed
46
    url='https://github.com/dmlc/dgl/tree/master/apps/life_sci',
47
    classifiers=[
48
        'Development Status :: 3 - Alpha',
49
        'Programming Language :: Python :: 3',
50
        'License :: OSI Approved :: Apache Software License'
51
    ],
52
    license='APACHE'
53
)