-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
55 lines (51 loc) · 1.66 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import os
from setuptools import setup
if __name__ == "__main__":
# update the version number from the file at the root
version = open("VERSION", "r").read().strip()
cwd = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(cwd, "cplxmodule", "__version__.py"), "w") as f:
f.write(f'__version__ = "{version}"\n')
setup(
name="cplxmodule",
version=version,
description="Variational Dropout and Complex-valued Neural Networks in pytorch",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/ivannz/cplxmodule",
keywords=[
"pytorch",
"variational dropout",
"complex-valued networks",
"sparsification",
],
license="MIT License",
author="Ivan Nazarov",
author_email="ivan.nazarov@skolkovotech.ru",
packages=[
"cplxmodule",
"cplxmodule.nn",
"cplxmodule.nn.modules",
"cplxmodule.nn.relevance",
"cplxmodule.nn.relevance.real",
"cplxmodule.nn.relevance.complex",
"cplxmodule.nn.relevance.extensions",
"cplxmodule.nn.relevance.extensions.real",
"cplxmodule.nn.masked",
"cplxmodule.nn.utils",
"cplxmodule.utils",
],
python_requires=">=3.7",
install_requires=[
"torch>=1.8",
"numpy",
"scipy",
],
tests_require=[
"tqdm",
"torchvision",
"matplotlib",
"pytest",
"scikit-learn",
],
)