-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (28 loc) · 973 Bytes
/
setup.py
File metadata and controls
32 lines (28 loc) · 973 Bytes
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
from setuptools import setup, find_packages
with open('README.md', 'r') as f:
long_description = f.read()
# https://stackoverflow.com/a/7071358/148668
import re
VERSIONFILE = "hole_filling/__init__.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setup(
name='hole-filling',
version=verstr,
author='Kaidi Shen',
description='A simple Python package for hole filling in triangle meshes.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/kentechx/hole-filling',
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
],
install_requires=['numpy<2.0.0', 'libigl==2.4.1', 'scipy'],
)