enabling python setup tool
-from setuptools import setup
+from setuptools import setup, find_packages
+
setup(
name="Tensile",
@@ -7,5 +8,14 @@ setup(
url="https://github.com/RadeonOpenCompute/Tensile",
author="Advanced Micro Devices",
license="MIT",
- install_requires=["yaml"],
+ install_requires=["pyyaml"],
+ packages=["tensile"],
+ package_data={"tensile": ["tensile/*", "Source/*"]},
+ #data_files=["Source", ["Client.cpp"{"tensile": ["Tensile/*"]},
+ include_package_data=True,
+ zip_safe=False,
+ entry_points={"console_scripts": [
+ "tensile = tensile.Tensile:Tensile",
+ "tensile-library-writer = tensile.TensileLibraryWriter"
+ ]}
)
