mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-30 08:34:59 +00:00
stuff
This commit is contained in:
18
MaterialX/python/setup.py.in
Normal file
18
MaterialX/python/setup.py.in
Normal file
@@ -0,0 +1,18 @@
|
||||
from setuptools import setup
|
||||
import os
|
||||
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
def getRecursivePackageData(root):
|
||||
packageData = []
|
||||
for dirpath, dirnames, filenames in os.walk(root):
|
||||
relpath = os.path.relpath(dirpath, root)
|
||||
packageData.append(os.path.join(relpath, '*.*'))
|
||||
return packageData
|
||||
|
||||
setup(name='MaterialX',
|
||||
url='www.materialx.org',
|
||||
version='${MATERIALX_MAJOR_VERSION}.${MATERIALX_MINOR_VERSION}.${MATERIALX_BUILD_VERSION}',
|
||||
packages=['MaterialX'],
|
||||
package_data={'MaterialX' : getRecursivePackageData('MaterialX')},
|
||||
zip_safe = False)
|
||||
Reference in New Issue
Block a user