-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
36 lines (29 loc) · 1016 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
from setuptools import setup, find_packages
from pathlib import Path
THISDIR = Path(__file__).parent
def read_requirements(fname):
with open(THISDIR / "requirements" / fname, "r") as f:
return f.read().splitlines()
core_required = read_requirements("requirements.txt")
dev_required = read_requirements("dev-requirements.txt") + core_required
main_ns = {}
with open(THISDIR / "sdftoolbox" / "__version__.py") as ver_file:
exec(ver_file.read(), main_ns)
setup(
name="sdftoolbox",
version=main_ns["__version__"],
description=(
"Vectorized Python methods for creating, manipulating and tessellating signed"
" distance fields."
),
author="Christoph Heindl",
url="https://github.com/cheind/sdf-surfacenets",
license="MIT",
install_requires=core_required,
packages=find_packages(".", include="sdftoolbox*"),
include_package_data=True,
keywords="sdf isoextraction dual contouring",
extras_require={
"dev": dev_required,
},
)