-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
45 lines (39 loc) · 1.17 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
import setuptools
with open("README.md", "rb") as fh:
long_description = fh.read().decode()
with open("diffrp/version.py", "r") as fh:
exec(fh.read())
__version__: str
def packages():
return setuptools.find_packages(include=['diffr*'])
setuptools.setup(
name="diffrp",
version=__version__,
author="flandre.info",
author_email="[email protected]",
description="Differentiable Render Pipelines with PyTorch.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/eliphatfs/diffrp",
packages=packages(),
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
install_requires=[
'numpy',
'torch',
'pyexr',
'calibur',
'trimesh[easy]',
'torch_redstone',
'typing_extensions',
'diffrp-nvdiffrast',
],
package_data={"diffrp.plugins": ["**/*.c", "**/*.h"], "diffrp": ["resources/**/*.*"]},
exclude_package_data={
'diffrp': ["*.pyc"],
},
python_requires='~=3.7'
)