-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathsetup.py
26 lines (23 loc) · 765 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
# Copyright 2018 Christoph Heindl.
#
# Licensed under MIT License
# ============================================================
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(
name='thinplate',
version=open('thinplate/__init__.py').readlines()[-1].split()[-1].strip('\''),
description='Thin plate splines for numpy and pytorch',
author='Christoph Heindl',
url='https://github.com/cheind/py-thin-plate-spline',
license='MIT',
install_requires=required,
packages=['thinplate', 'thinplate.tests'],
include_package_data=True,
keywords='thin plate spline spatial transformer network'
)