forked from thomas0809/RxnScribe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (24 loc) · 914 Bytes
/
setup.py
File metadata and controls
29 lines (24 loc) · 914 Bytes
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
from distutils.core import setup
from pathlib import Path
def get_install_requires():
"""Returns requirements.txt parsed to a list"""
fname = Path(__file__).parent / 'requirements.txt'
targets = []
if fname.exists():
with open(fname, 'r') as f:
targets = f.read().splitlines()
return targets
requirements = get_install_requires()
setup(name='RxnScribe',
version='1.0',
description='RxnScribe',
author='Yujie Qian',
author_email='yujieq@csail.mit.edu',
url='https://github.com/thomas0809/RxnScribe',
packages=['rxnscribe', 'rxnscribe.inference', 'rxnscribe.pix2seq', 'rxnscribe.transformer'],
package_dir={'rxnscribe': 'rxnscribe'},
package_data={},
setup_requires=['numpy'],
install_requires=requirements,
dependency_links=['git+https://github.com/thomas0809/MolScribe.git@main#egg=MolScribe'],
)