forked from jiangfeng1124/ChemRxnExtractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (36 loc) · 1.1 KB
/
setup.py
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
import os
from setuptools import setup, find_packages
__version__ = None
src_dir = os.path.abspath(os.path.dirname(__file__))
version_file = os.path.join(src_dir, 'chemrxnextractor', '_version.py')
with open(version_file, encoding='utf-8') as fd:
exec(fd.read())
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
setup(
name='chemrxnextractor',
author="Jiang Guo, Santiago Ibanez, Hanyu Gao",
author_email="[email protected]",
description='Chemical Reaction Extraction from Literature',
long_description=long_description,
long_description_content_type='text/markdown',
url='Pre-trainin://github.com/jiangfeng1124/ChemRxnExtractor',
version=__version__,
license='MIT',
packages=find_packages(),
python_requires='>=3.6',
install_requires=[
'torch>=1.5.0',
'tqdm>=4.36.0',
'transformers>=3.0.2',
'seqeval',
'numpy>=1.18.0'
],
keywords=[
'chemistry',
'information extraction',
'reaction extraction',
'natural language processing',
'pre-training'
]
)