tensor-sensor

Форк
0
/
setup.py 
50 строк · 2.1 Кб
1
"""
2
MIT License
3

4
Copyright (c) 2021 Terence Parr
5

6
Permission is hereby granted, free of charge, to any person obtaining a copy
7
of this software and associated documentation files (the "Software"), to deal
8
in the Software without restriction, including without limitation the rights
9
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
copies of the Software, and to permit persons to whom the Software is
11
furnished to do so, subject to the following conditions:
12

13
The above copyright notice and this permission notice shall be included in all
14
copies or substantial portions of the Software.
15

16
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
SOFTWARE.
23
"""
24
from setuptools import setup
25

26
tensorflow_requires = ['tensorflow']
27
torch_requires = ['torch']
28
jax_requires = ['jax', 'jaxlib']
29
all_requires = tensorflow_requires + torch_requires + jax_requires
30

31
exec(open('tsensor/version.py').read())
32
setup(
33
    name='tensor-sensor',
34
    version=__version__,
35
    url='https://github.com/parrt/tensor-sensor',
36
    license='MIT',
37
    py_modules=['tsensor.parsing', 'tsensor.ast', 'tsensor.analysis', 'tsensor.viz', 'tsensor.version'],
38
    author='Terence Parr',
39
    author_email='parrt@cs.usfca.edu',
40
    python_requires='>=3.6',
41
    install_requires=['graphviz>=0.14.1','numpy','IPython', 'matplotlib'],
42
    extras_require = {'all': all_requires,
43
                      'torch': torch_requires,
44
                      'tensorflow': tensorflow_requires,
45
                      'jax': jax_requires
46
                      },
47
    description='The goal of this library is to generate more helpful exception messages for numpy/pytorch tensor algebra expressions.',
48
    classifiers=['License :: OSI Approved :: MIT License',
49
                 'Intended Audience :: Developers']
50
)
51

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.