-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (39 loc) · 1.14 KB
/
setup.py
File metadata and controls
46 lines (39 loc) · 1.14 KB
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
import io
import re
import setuptools
with open('active_subsampling/__init__.py') as fd:
__version__ = re.search("__version__ = '(.*)'", fd.read()).group(1)
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.md')
setuptools.setup(
name='active_subsampling',
version=__version__,
python_requires='>=3.9',
install_requires=[
'numpy',
'scipy',
'pandas',
'scikit-learn',
'rdkit',
'deepchem==2.5.0',
'tensorflow',
'matplotlib',
],
description='Using active learning for data curation',
long_description=long_description,
url='https://github.com/RekerLab/active-subsampling',
packages=setuptools.find_packages(),
classifiers=[
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
include_package_data=True,
)