-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
28 lines (25 loc) · 853 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
from setuptools import setup
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Proceed to setup
setup(
name='torchinterp1d',
version='1.1',
description='An interp1d implementation for pytorch',
download_url='https://github.com/aliutkus/torchinterp1d/archive/refs/tags/v1.tar.gz',
url='https://github.com/aliutkus/torchinterp1d',
long_description=long_description,
long_description_content_type='text/markdown',
author='Antoine Liutkus',
author_email='[email protected]',
packages=['torchinterp1d'],
keywords='interp1d torch',
install_requires=[
'torch>=1.6',
],
)