-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (21 loc) · 810 Bytes
/
setup.py
File metadata and controls
29 lines (21 loc) · 810 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 setuptools import setup, find_packages
VERSION = '0.1'
def write_version(filename='impute/version.py'):
with open(filename, 'w') as f:
print(f"version = '{VERSION}'", file=f)
def setup_package():
write_version()
setup(name='impute',
version=VERSION,
description='Implementation of low-rank imputing methods for general sampling distributions',
url='git@github.com:nimily/impute.git',
author='Nima Hamidi',
author_email='nimaa.hamidi@gmail.com',
license='MIT',
packages=find_packages(),
install_requires=['numpy >= 1.16.2',
'scikit-learn >= 0.20.3',
'sklearn >= 0.0'],
zip_safe=False)
if __name__ == '__main__':
setup_package()