forked from zfergus/seam-erasure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
69 lines (65 loc) · 2.28 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
"""Install seam_erasure."""
from setuptools import setup
import os
import seam_erasure
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
long_description = long_description.replace(
"static/img/",
"https://raw.githubusercontent.com/zfergus/seam-erasure/master/static/img/"
)
setup(
name=seam_erasure.__name__,
packages=[seam_erasure.__name__],
version=seam_erasure.__version__,
license=seam_erasure.__license__,
description="Seamlessly erase seams from your favorite 3D models.",
long_description=long_description,
long_description_content_type='text/markdown',
author=seam_erasure.__author__,
author_email=seam_erasure.__email__,
url="https://github.com/zfergus/seam-erasure",
keywords=["3D Modeling", "Textures", "Computer Graphics"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Graphics :: 3D Modeling",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
python_requires=">= 2.7",
install_requires=[
"numpy",
"scipy",
"recordclass",
"pillow",
"pathlib; python_version < '3.4'",
"tqdm",
],
extras_require={
"cholmod": ["cvxopt"],
"web-ui": ["flask"],
},
entry_points={
"console_scripts": [
"seam-erasure=seam_erasure.cli:main",
# "seam-erasure-webui=server:main",
],
},
project_urls={
"Bug Reports": "https://github.com/zfergus/seam-erasure/issues",
"Research Project Page": "https://cragl.cs.gmu.edu/seamless/",
"Paper": "https://goo.gl/1LwB3Z",
"Video": "https://youtu.be/kCryf9n82Y8",
"Source": "https://github.com/zfergus/seam-erasure/",
},
)