-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (30 loc) · 1018 Bytes
/
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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
# kudos: https://stackoverflow.com/a/16084844
exec(open('_version.py').read())
requirements = [
'matplotlib==3.4.2',
'numpy==1.19.5',
'sklearn==0.0', # boston housing data for testing
'torch>=1.8.1+cpu',
'torch_scatter==2.0.8', # needed for torch_sparse
'torch_sparse==0.6.11'] # efficient sparse matrix operations
tests_require = ['unittest']
setup(
name='torch_topkast',
version=__version__,
description='Pytorch Implementation for Top-KAST',
long_description=readme,
python_requires='>=3.6',
install_requires=requirements,
tests_rquire=tests_require,
author='Lisa Wimmer, Sven Lorenz, Andreas Klaß',
# author_email='was soll hier rein?',
url='https://github.com/A-Klass/appl_deepl',
# license=license,
packages=find_packages(exclude=('tests', 'docs'))
)
# upload to PyPI by:
# python setup.py register sdist upload