-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (30 loc) · 1.25 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (30 loc) · 1.25 KB
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
# run 'pip install -e .' in the command line for installation
from __future__ import print_function # just for printing the error if python2.x is used
from setuptools import setup
required_python_version = (3, 5)
required_python_string=">=" + ".".join(map(str, required_python_version))
################################################################################
# small hack as the 'python_requires' keyword argument of 'setup' seems to be
# ignored
import sys
# check that at least python 'required_python_version' is used
if sys.version_info < required_python_version:
print("Please use at least Python " + ".".join(map(str, required_python_version)),
" (not '" + sys.version + "')")
sys.exit(1)
################################################################################
setup(name="alpha-shapes",
version="0.1",
description="A minimal library for alpha shape computation.",
url="not yet there",
author="Tim Kittel",
author_email="Tim.Kittel@pik-potsdam.de",
license="whatever for now",
packages=["alpha_shapes"],
python_requires=required_python_string,
install_requires=[
"numpy>=1.11.0",
"numba>=0.33.0",
"scipy>=0.17.0",
],
zip_safe=False)